Skip to content

Deploy whole static site #4

Deploy whole static site

Deploy whole static site #4

Workflow file for this run

name: Deploy to S3
on:
push:
branches:
- main
- 'feature/deploy-s3'
permissions:
id-token: write
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: arn:aws:iam::527615795827:role/github-actions@frees-au
aws-region: ap-southeast-2
- name: Deploy to S3
run: aws s3 cp -R static-site s3://frees-au-static/