Skip to content

Commit 683cb4b

Browse files
committed
Fix workflow
1 parent e94530f commit 683cb4b

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,22 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v4
13+
1314
- name: Setup python
1415
uses: actions/setup-python@v5
1516
with:
1617
python-version: '3'
18+
1719
- name: Setup pelican
1820
run: pip install -r requirements.txt
21+
1922
- name: Build
2023
run: python -m pelican
2124

25+
# FIXME
26+
- name: Copy index page to root
27+
run: cp output/index/index.html output/index.html
28+
2229
- name: Upload files
2330
id: deployment
2431
uses: actions/upload-pages-artifact@v3
@@ -43,15 +50,3 @@ jobs:
4350
- name: Deploy to GitHub Pages
4451
id: deployment
4552
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
46-
47-
# - name: Deploy
48-
# uses: peaceiris/actions-gh-pages@v3
49-
# # If you’re changing the branch from main,
50-
# # also change the `main` in `refs/heads/main`
51-
# # below accordingly.
52-
# if: ${{ github.ref == 'refs/heads/main' }}
53-
# with:
54-
# github_token: ${{ secrets.GITHUB_TOKEN }}
55-
# publish_dir: ./public
56-
# force_orphan: true
57-
# cname: bookish-telegram.thrsten.pages.github.io

0 commit comments

Comments
 (0)