Skip to content

update @system76/components package (#1170) #338

update @system76/components package (#1170)

update @system76/components package (#1170) #338

Workflow file for this run

---
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