Update and rename gh-pages.yml to deploy-site.yml

This commit is contained in:
neverland
2021-04-20 19:57:48 +08:00
committed by GitHub
parent 38f02606ad
commit 27cf349599
+20
View File
@@ -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@v4
with:
branch: gh-pages
folder: site
target-folder: v3