|
|
@ -2,8 +2,10 @@ name: Deploy to GitHub Pages |
|
|
on: [push] |
|
|
on: [push] |
|
|
jobs: |
|
|
jobs: |
|
|
Deploy: |
|
|
Deploy: |
|
|
uses: maxheld83/ghpages@v0.2.1 |
|
|
steps: |
|
|
if: success() && github.event == 'push' && github.ref == 'master' |
|
|
- name: Deploy to GitHub Pages |
|
|
env: |
|
|
uses: maxheld83/ghpages@v0.2.1 |
|
|
BUILD_DIR: 'dist/' |
|
|
if: success() && github.event == 'push' && github.ref == 'master' |
|
|
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} |
|
|
env: |
|
|
|
|
|
BUILD_DIR: 'dist/' |
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} |
|
|
|