chore: add github action
This commit is contained in:
parent
439b7a1710
commit
898d2de3d8
1 changed files with 21 additions and 0 deletions
21
.github/workflows/deploy.yml
vendored
Normal file
21
.github/workflows/deploy.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
uses: Cecilapp/GitHub-Pages-deploy@master
|
||||||
|
env:
|
||||||
|
EMAIL: sun.sivan@gmail.com
|
||||||
|
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
BASE_BRANCH: master
|
||||||
|
BUILD_DIR: demo
|
Loading…
Reference in a new issue