mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
Create deploy-site.yml
This commit is contained in:
parent
5e56dc58e3
commit
9b1ede4341
19
.github/workflows/deploy-site.yml
vendored
Normal file
19
.github/workflows/deploy-site.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Deploy website
|
||||
on:
|
||||
release:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Deploy website
|
||||
uses: JamesIves/github-pages-deploy-action@master
|
||||
env:
|
||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
BRANCH: gh-pages
|
||||
FOLDER: _site
|
||||
BUILD_SCRIPT: npm install && npm run predeploy
|
Loading…
Reference in New Issue
Block a user