Skip to content

Build and Deploy

Build and Deploy #1619

Workflow file for this run

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
- uses: actions/setup-node@v4
with:
node-version: 22
- run: yarn install
- run: yarn lint
- run: yarn build
- 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
uses: lycheeverse/lychee-action@v2
with:
args: src/**/*.tsx --exclude https://codepen.io/pen/define --exclude https://war.ukraine.ua/support-ukraine/ --exclude https://www.minisexdoll.com/anime-sexdoll/ --exclude https://www.mymasturbators.com/ --exclude https://github.com/sweetalert2/sweetalert2/commits/main --exclude https://www.cheapestsexdolls.com/ --exclude https://sextoycollective.com/
fail: true