Skip to content

Merge pull request #6 from FuelLabs/sophie/api-tokens #9

Merge pull request #6 from FuelLabs/sophie/api-tokens

Merge pull request #6 from FuelLabs/sophie/api-tokens #9

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- master
workflow_dispatch:
env:
NODE_VERSION: '16'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: npm ci and build
env:
CI: true
run: |
cd app && npm ci && npm run build
cp -r build ../build
cp ../CNAME ../build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build