Skip to content

Merge pull request #140 from Yangjaecheon-Otter-Guardians/fix/dropdown #80

Merge pull request #140 from Yangjaecheon-Otter-Guardians/fix/dropdown

Merge pull request #140 from Yangjaecheon-Otter-Guardians/fix/dropdown #80

Workflow file for this run

on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
env:
working-directory: ./frontend
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/[email protected]
with:
node-version: '12.x'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
working-directory: ${{ env.working-directory }}
- name: Build
run: CI='false' npm run build
working-directory: ${{ env.working-directory }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GIT_TOKEN }}
publish_dir: ./frontend/build