Skip to content

ci: experiment with deploy on push #4

ci: experiment with deploy on push

ci: experiment with deploy on push #4

Workflow file for this run

on:
push:
release:
types: [released, edited]
permissions:
id-token: write
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download release asset
uses: dsaltares/[email protected]
with:
version: refs/tags/3.1.6
file: 'HSTracker.app.zip'
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ASIA_DEPLOY_ROLE_ARN }}
aws-region: ap-east-1
- name: Publish
run: aws s3 sync HSTracker.app.zip "s3://${{ secrets.AWS_S3_BUCKET }}/hstracker/HSTracker.app.zip"