Skip to content

Workflow file for this run

on:
release:
types: [released]
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: ${{ github.ref }}
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"