build(deps): bump path-to-regexp and express #149
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: Publish | |
on: | |
push: | |
branches: | |
- development | |
jobs: | |
publish: | |
name: Publish to GitHub Pages | |
runs-on: ubuntu-20.04 | |
environment: build | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4.0.3 | |
with: | |
cache: 'npm' | |
node-version: '16' | |
- run: npm ci | |
- run: npm run build | |
- run: | | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
npx gh-pages -u "GitHub Actions Bot <actions@github.com>" -b master -d build --cname timon-borter.ch | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} |