From 2fa60afb5e3dbfe19522589f6fa3a99292d909eb Mon Sep 17 00:00:00 2001 From: CorrectRoadH Date: Mon, 15 Jan 2024 17:26:08 +0800 Subject: [PATCH] fix: fix release push (#390) --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4515f22..2997207 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,13 +50,18 @@ jobs: /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 + - name: Copy + run: | + mkdir pages + cp /tmp/linux-all-appstore-${{ github.ref_name }}.tar.gz pages/ + - name: Pushes to another repository uses: cpina/github-action-push-to-another-repository@main env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }} with: - source-directory: '/tmp' + source-directory: 'pages' destination-github-username: 'IceWhaleTech' destination-repository-name: 'icewhaletech.github.io' user-email: a778917369@gmail.com - target-directory: './' \ No newline at end of file + target-directory: '' \ No newline at end of file