From 2897dd8177f081ec6e3c14a840443503c74d44d9 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 24 Sep 2020 12:01:42 +0800 Subject: [PATCH] chore: Update github workflows config. --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 00000000..2069e93c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: GitHub Actions Build and Deploy file-icons +on: + push: + branches: + - master +jobs: + build-deploy: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@master + + - name: Setup Node + uses: actions/setup-node@v1 + with: + node-version: '10.x' + + - run: npm install + - run: npm run font + + - name: Build and Deploy + uses: peaceiris/actions-gh-pages@v2.5.0 + env: + ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} + PUBLISH_BRANCH: gh-pages + PUBLISH_DIR: ./fonts