Skip to content

Commit

Permalink
fix: index
Browse files Browse the repository at this point in the history
maybe this time! :DDD
  • Loading branch information
ThisAMJ committed Jul 30, 2024
1 parent 5293716 commit cdb4147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,16 @@ jobs:
pip install -r requirements.txt
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

# builds to out.html
- name: Build the site
run: python "./generate.py"

- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./out

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,5 @@ def generate_command_table():
)

os.makedirs("out", exist_ok=True) # just in case
with open("out/out.html", "w") as f:
with open("out/index.html", "w") as f:
f.write(out)

0 comments on commit cdb4147

Please sign in to comment.