Skip to content

Publish installer (#11) #3

Publish installer (#11)

Publish installer (#11) #3

Workflow file for this run

on:
pull_request:
paths:
- .github/workflows/cd.installer.yml
push:
branches: main
paths:
- installer.sh
- .github/workflows/cd.installer.yml
jobs:
cd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- run: aws s3 cp ./installer.sh s3://${{ secrets.AWS_S3_BUCKET }}/installer.sh
- run: aws cloudfront create-invalidation
--distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }}
--paths / /installer.sh