From e2393018b6229ae61a79fd2905a47bce76d8c416 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 12 Oct 2019 12:15:47 +0800 Subject: [PATCH] Add github workflows. --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..468e7e6a61 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: GitHub Actions Build and Deploy linux-command +on: [push, pull_request] +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + + - name: Build and Deploy + uses: JamesIves/github-pages-deploy-action@master + env: + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} + BRANCH: gh-pages + FOLDER: .deploy + BUILD_SCRIPT: npm install && npm run build \ No newline at end of file