fix: fix release push (#390)

This commit is contained in:
CorrectRoadH 2024-01-15 17:26:08 +08:00 committed by GitHub
parent a014e35a26
commit 2fa60afb5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -50,13 +50,18 @@ jobs:
/tmp/checksums.txt:/IceWhaleTech/CasaOS-AppStore/releases/download/${{ steps.get_version.outputs.VERSION }}/checksums.txt /tmp/checksums.txt:/IceWhaleTech/CasaOS-AppStore/releases/download/${{ steps.get_version.outputs.VERSION }}/checksums.txt
/tmp/linux-all-appstore-${{ github.ref_name }}.tar.gz:/IceWhaleTech/CasaOS-AppStore/releases/download/${{ steps.get_version.outputs.VERSION }}/linux-all-appstore-${{ github.ref_name }}.tar.gz /tmp/linux-all-appstore-${{ github.ref_name }}.tar.gz:/IceWhaleTech/CasaOS-AppStore/releases/download/${{ steps.get_version.outputs.VERSION }}/linux-all-appstore-${{ github.ref_name }}.tar.gz
- name: Copy
run: |
mkdir pages
cp /tmp/linux-all-appstore-${{ github.ref_name }}.tar.gz pages/
- name: Pushes to another repository - name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main uses: cpina/github-action-push-to-another-repository@main
env: env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }} API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }}
with: with:
source-directory: '/tmp' source-directory: 'pages'
destination-github-username: 'IceWhaleTech' destination-github-username: 'IceWhaleTech'
destination-repository-name: 'icewhaletech.github.io' destination-repository-name: 'icewhaletech.github.io'
user-email: a778917369@gmail.com user-email: a778917369@gmail.com
target-directory: './' target-directory: ''