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