Update system-firmware.md (#1243) #398
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: Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
Deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
- name: Cache | |
id: cache | |
uses: actions/cache@v2 | |
with: | |
path: ./node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
- name: Install | |
run: npm ci | |
if: steps.cache.outputs.cache-hit != 'true' | |
- name: Build | |
run: npm run build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_ENV: production | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
cname: support.system76.com | |
github_token: ${{ secrets.RELEASE_TOKEN }} | |
publish_dir: ./dist |