Skip to content

Commit

Permalink
Create canaryappdeploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
子平六 authored Oct 27, 2023
1 parent 0645f1f commit 23f0293
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/canaryappdeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and Deploy

on:
push:
branches: [ "slave" ]
pull_request:
branches: [ "slave" ]

jobs:
build:
environment: github-pages
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.DEPLOY_KEY }}
publish_dir: ./build

0 comments on commit 23f0293

Please sign in to comment.