Skip to content

Commit

Permalink
ci: add job to deploy testing appcast
Browse files Browse the repository at this point in the history
  • Loading branch information
fxliang committed Jul 24, 2024
1 parent 372bcb4 commit 8609578
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,22 @@ jobs:
run: |
.\build.bat appcast
- name: Deploy testing/weasel/appcast.xml to rime.github.io
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
path: testing\weasel\appcast.xml

update_appcast:
permissions:
contents: write
runs-on: ubuntu-latest
needs: [build-and-release]
steps:
- name: Download artifacts
uses: actions/download-artifacts@v4

- name: Deploy appcast
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
Expand Down

0 comments on commit 8609578

Please sign in to comment.