Skip to content

Commit

Permalink
update the deployment job for script changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdyas committed Dec 2, 2024
1 parent c37af35 commit 31acff8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Generate index
run: |
python -m venv venv
venv/bin/pip install -r ./requirements.txt
mkdir -p github-pages
pip install pygithub
python generate_index.py github-pages/simple
venv/bin/python generate_index.py --url-path-prefix=/simple github-pages/simple
env:
GH_TOKEN: ${{ github.token }}
- name: Upload artifact
Expand Down

0 comments on commit 31acff8

Please sign in to comment.