Skip to content

Merge pull request #3 from alreadynyeong/dependabot/npm_and_yarn/next… #32

Merge pull request #3 from alreadynyeong/dependabot/npm_and_yarn/next…

Merge pull request #3 from alreadynyeong/dependabot/npm_and_yarn/next… #32

Workflow file for this run

name: Frontend Build
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install and Build
uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm run build
env:
CI: true
DEPLOY_TARGET: "gh-pages"
- run: touch out/.nojekyll
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
publish_dir: ./out