Skip to content

Commit

Permalink
build: add github pages deploy action (youzan#8582)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Apr 20, 2021
1 parent e50f6f1 commit 38f0260
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and Deploy Site
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2

- name: Install and Build
run: |
yarn
yarn release:site
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4
with:
branch: gh-pages
folder: site
target-folder: v3

0 comments on commit 38f0260

Please sign in to comment.