Skip to content

Deploy to GitHub Pages #5

Deploy to GitHub Pages

Deploy to GitHub Pages #5

Workflow file for this run

name: Deploy to GitHub Pages
on: workflow_dispatch
jobs:
continuous-deployment:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
defaults:
run:
working-directory: ./app
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm install
- name: Parse csv data
run: |
cd ./src/data/
node data.js
- name: Generate
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./app/build