|
@ -8,12 +8,18 @@ on: |
|
|
jobs: |
|
|
jobs: |
|
|
pages: |
|
|
pages: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
permissions: |
|
|
|
|
|
contents: write |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
- name: Use Node.js 12.x |
|
|
|
|
|
uses: actions/setup-node@v1 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
node-version: '12.x' |
|
|
|
|
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
# If your repository depends on submodule, please see: https://github.com/actions/checkout |
|
|
|
|
|
submodules: recursive |
|
|
|
|
|
- name: Use Node.js 16.x |
|
|
|
|
|
uses: actions/setup-node@v2 |
|
|
|
|
|
with: |
|
|
|
|
|
node-version: '16' |
|
|
- name: Cache NPM dependencies |
|
|
- name: Cache NPM dependencies |
|
|
uses: actions/cache@v2 |
|
|
uses: actions/cache@v2 |
|
|
with: |
|
|
with: |
|
@ -30,4 +36,3 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
publish_dir: ./public |
|
|
publish_dir: ./public |
|
|
publish_branch: master # deploying branch |
|
|
|