Skip to content

Merge pull request #22 from CaseyNelson314/dependabot/npm_and_yarn/br… #97

Merge pull request #22 from CaseyNelson314/dependabot/npm_and_yarn/br…

Merge pull request #22 from CaseyNelson314/dependabot/npm_and_yarn/br… #97

Workflow file for this run

name: GitHub Pages Deploy
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: "16"
cache: npm
- name: Install
run: npm install
- name: Build
run: |
npm run build
tree .
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./app/dist