Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Change branch name

Change branch name #1

Workflow file for this run

name: Hack-Illinois Challenge Pipeline
on:
push:
branches: [pages]
pull_request:
branches: [pages]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [11.x]
steps:
- uses: actions/checkout@v2
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run build
deploy:
name: Deploy
needs: [build]
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [11.x]
steps:
- uses: actions/checkout@v2
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build