diff --git a/.github/workflows/asia-release.yml b/.github/workflows/asia-release.yml index 8554808c..d37b8144 100644 --- a/.github/workflows/asia-release.yml +++ b/.github/workflows/asia-release.yml @@ -1,4 +1,5 @@ on: + push: release: types: [released, edited] @@ -17,7 +18,7 @@ jobs: - name: Download release asset uses: dsaltares/fetch-gh-release-asset@1.1.2 with: - version: ${{ github.ref }} + version: tags/3.1.6 file: 'HSTracker.app.zip' - name: Configure AWS Credentials @@ -27,4 +28,4 @@ jobs: aws-region: ap-east-1 - name: Publish - run: aws s3 sync HSTracker.app.zip "s3://${{ secrets.AWS_S3_BUCKET }}/hstracker/HSTracker.app.zip" + run: aws s3 sync HSTracker.app.zip "s3://${{ secrets.AWS_S3_BUCKET }}/hstracker"