diff --git a/.github/workflows/gh-pages-deployment.yml b/.github/workflows/gh-pages-deployment.yml index e70091b..7d64786 100644 --- a/.github/workflows/gh-pages-deployment.yml +++ b/.github/workflows/gh-pages-deployment.yml @@ -1,5 +1,5 @@ # Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy GitHub Pages site +name: Build and deploy react app to GitHub pages on: # Runs on pushes targeting the default branch @@ -28,6 +28,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Auto-generate contents: + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + python index_contents.py - name: Install dependencies run: npm i - name: Build react app