Skip to content

Merge pull request #205 from varya/talk/complete-ds #77

Merge pull request #205 from varya/talk/complete-ds

Merge pull request #205 from varya/talk/complete-ds #77

Workflow file for this run

name: deploy
on:
push:
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Build for production
run: npm run deploy:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public