From 898d2de3d8749ee577f515673e090f8b2b7243e0 Mon Sep 17 00:00:00 2001 From: Sivan Date: Fri, 21 Feb 2020 01:18:31 +0800 Subject: [PATCH] chore: add github action --- .github/workflows/deploy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..ec04246 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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