Skip to content

Commit

Permalink
fix: github aactions
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed Dec 29, 2021
1 parent 392e3e7 commit 321e2a6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ jobs:
overwrite: true
body: "CapsLockX Package"
# 压缩包和 docs 一起同步到 gh-pages
- run: |
cp CapsLockX-${{ env.RELEASE_VERSION }}.zip docs/CapsLockX-${{ env.RELEASE_VERSION }}.zip
cp CapsLockX-${{ env.RELEASE_VERSION }}.zip docs/CapsLockX-latest.zip
cp CHANGELOG.md docs/CHANGELOG.md
cp Core/version.txt docs/version.txt
- run: cp CapsLockX-${{ env.RELEASE_VERSION }}.zip docs/CapsLockX-${{ env.RELEASE_VERSION }}.zip
- run: cp CapsLockX-${{ env.RELEASE_VERSION }}.zip docs/CapsLockX-latest.zip
- run: cp CHANGELOG.md docs/CHANGELOG.md
- run: cp Core/version.txt docs/version.txt
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 321e2a6

Please sign in to comment.