Skip to content

Commit

Permalink
Add infinite scroll feature + Add instructions for deploying to Githu…
Browse files Browse the repository at this point in the history
…b pages.
  • Loading branch information
maxachis committed Feb 5, 2024
1 parent 5c11ed3 commit 5e08c1b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy_to_gh_pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v1

- name: Build
run: |
npm install
npm run-script build
env:
REACT_APP_SUPABASE_URL: ${{ secrets.REACT_APP_SUPABASE_URL }}
REACT_APP_SUPABASE_ANON_KEY: ${{ secrets.REACT_APP_SUPABASE_ANON_KEY }}

- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build

0 comments on commit 5e08c1b

Please sign in to comment.