Skip to content

Commit 8fb19af

Browse files
mattwang44m-aciek
authored andcommitted
build to gh-pages branch
1 parent 88ad225 commit 8fb19af

File tree

2 files changed

+7
-124
lines changed

2 files changed

+7
-124
lines changed

.github/workflows/update.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
- cron: '*/30 * * * *'
44
push:
55
branches:
6-
- '*'
6+
- 'main'
77
workflow_dispatch:
88
jobs:
99
update:
@@ -14,12 +14,10 @@ jobs:
1414
- uses: actions/setup-python@main
1515
- uses: astral-sh/setup-uv@main
1616
- uses: actions/checkout@main
17-
- run: uv run generate.py
18-
- run: git config user.name "github-actions[bot]"
19-
- run: git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
20-
- run: git add .
21-
- run: git commit -m 'Update progress values'
22-
- uses: ad-m/github-push-action@master
17+
- run: uv run generate.py # generates "index.html"
18+
- run: mkdir -p build && cp index.html style.css build
19+
- name: Deploy 🚀
20+
uses: JamesIves/github-pages-deploy-action@v4
2321
with:
24-
github_token: ${{ secrets.GITHUB_TOKEN }}
25-
branch: ${{ github.ref }}
22+
folder: build
23+
clean: true

index.html

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)