Skip to content

feat: add cdn to canary static deploy path #16

feat: add cdn to canary static deploy path

feat: add cdn to canary static deploy path #16

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [ "slave" ]
pull_request:
branches: [ "slave" ]
jobs:
deploy:
environment: github-pages
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Build
run: npm run build:canary
- name: deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.DEPLOY_KEY }}
publish_dir: ./build