Skip to content

Commit 921fc74

Browse files
themr0cclaude
andcommitted
fix: replace peaceiris deploy with retry script in build-asciidoc.yml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 84a3eb4 commit 921fc74

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/build-asciidoc.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,11 @@ jobs:
5050
echo "Building branch ${{ env.GIT_BRANCH }}"
5151
build/scripts/build-ccutil.sh -b ${{ env.GIT_BRANCH }}
5252
53-
# repo must be public for this to work
54-
- name: Deploy
55-
uses: peaceiris/actions-gh-pages@v4
56-
# if: github.ref == 'refs/heads/main'
57-
with:
58-
github_token: ${{ secrets.RHDH_BOT_TOKEN }}
59-
publish_branch: gh-pages
60-
keep_files: true
61-
publish_dir: ./titles-generated
53+
- name: Deploy to gh-pages
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.RHDH_BOT_TOKEN }}
56+
GITHUB_REPOSITORY: ${{ github.repository }}
57+
run: bash build/scripts/deploy-gh-pages.sh ./titles-generated --message "Deploy ${{ env.GIT_BRANCH }}"
6258

6359
- name: Cleanup merged PR branches
6460
run: |

0 commit comments

Comments
 (0)