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

Commit

Permalink
Added github pages ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nrking0 committed Nov 14, 2023
1 parent 418eaad commit c32d797
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Hack-Illinois Challenge Pipeline

on:
push:
branches: [pages]
pull_request:
branches: [pages]

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.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
- run: mv public/favicon.ico build/favicon.ico
- run: mv public/manifest.json build/manifest.json
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build

0 comments on commit c32d797

Please sign in to comment.