From 566a348bc60467ec16ad116f0d66fae53b98404c Mon Sep 17 00:00:00 2001 From: Benedict Etzel Date: Wed, 18 Dec 2024 20:10:23 +0100 Subject: [PATCH] ci: experiment with deploy on push --- .github/workflows/asia-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"