docs: shaka-player-error-4000.md #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build gatsby | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_gatsby: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup | Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Install dependencies | |
run: npm i --frozen-lockfile | |
- name: gatsby build | |
env: | |
GH_API_KEY: ${{ secrets.GITHUB }} | |
run: npm run build | |
- name: GitHub Pages action | |
uses: peaceiris/[email protected] | |
with: | |
personal_token: ${{ secrets.TOKEN }} | |
publish_dir: ./public |