Skip to content

🔧 add siteUrl

🔧 add siteUrl #40

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- develop
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'yarn'
- name: Install all deps
run: yarn install --frozen-lockfile
- name: Generate files for static hosting
run: yarn generate
- name: deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/develop' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: master
publish_dir: ./dist