Build and Deploy #1099
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: '0 3 * * *' | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install npm dependencies | |
run: yarn install | |
- name: Run linters | |
run: yarn lint | |
- name: Build | |
run: yarn build | |
# - name: Setup ruby | |
# uses: ruby/setup-ruby@v1 | |
# with: | |
# ruby-version: '3.0' | |
- name: Deploy 🚀 | |
if: github.event_name == 'push' | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: dist | |
# - name: Check for broken links | |
# run: | | |
# gem install awesome_bot | |
# awesome_bot index.html --allow-dupe --allow-redirect --skip-save-results --white-list "https://codepen.io/pen/define,https://war.ukraine.ua/support-ukraine/,https://escortsear.ch/,https://www.sexvibrators.in/,https://realspyapps.com/,https://doctorclimax.com/,https://blowupdollshop.com/,https://sextoycollective.com/,https://placeholder.pics/svg/300x1500,https://taboodude.com/,https://vlixa.com/,https://www.mybitcoinslots.com/,https://www.serpempire.com/,https://www.myminisexdoll.com/" |