Skip to content

Commit c7bd27e

Browse files
committed
add in static site script builder into action
1 parent 6c2ee93 commit c7bd27e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/gh-pages-deployment.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
2-
name: Deploy GitHub Pages site
2+
name: Build and deploy react app to GitHub pages
33

44
on:
55
# Runs on pushes targeting the default branch
@@ -28,6 +28,11 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v4
31+
- name: Auto-generate contents:
32+
run: |
33+
python -m pip install --upgrade pip
34+
pip install -r requirements.txt
35+
python index_contents.py
3136
- name: Install dependencies
3237
run: npm i
3338
- name: Build react app

0 commit comments

Comments
 (0)