|
@@ -1,24 +0,0 @@
|
|
|
-name: Deploy to GitHub Pages
|
|
|
-
|
|
|
-on:
|
|
|
- push:
|
|
|
- branches:
|
|
|
- - master
|
|
|
-jobs:
|
|
|
- build-and-deploy:
|
|
|
- runs-on: ubuntu-latest
|
|
|
- steps:
|
|
|
- - uses: actions/checkout@v1
|
|
|
-
|
|
|
- - name: Build
|
|
|
- run: |
|
|
|
- npm ci
|
|
|
- npm run build
|
|
|
-
|
|
|
- - name: Deploy
|
|
|
- uses: JamesIves/github-pages-deploy-action@releases/v3
|
|
|
- with:
|
|
|
- ACCESS_TOKEN: ${{secrets.GH_DEPLOY}}
|
|
|
- GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
|
- BRANCH: gh-pages
|
|
|
- FOLDER: build
|