From 5e08c1b6220ea4e0ab2d51364fc1c7541ade49fe Mon Sep 17 00:00:00 2001 From: maxachis Date: Mon, 5 Feb 2024 16:38:21 -0500 Subject: [PATCH] Add infinite scroll feature + Add instructions for deploying to Github pages. --- .github/workflows/deploy_to_gh_pages.yaml | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/deploy_to_gh_pages.yaml diff --git a/.github/workflows/deploy_to_gh_pages.yaml b/.github/workflows/deploy_to_gh_pages.yaml new file mode 100644 index 0000000..88a5023 --- /dev/null +++ b/.github/workflows/deploy_to_gh_pages.yaml @@ -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 \ No newline at end of file