Skip to content

Merge pull request #87 from StakeUs/patch-1 #113

Merge pull request #87 from StakeUs/patch-1

Merge pull request #87 from StakeUs/patch-1 #113

Workflow file for this run

name: Deploy to AWS S3
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Deploy to S3
run: |
set -e # Ensure the script fails on error
aws s3 sync ${GITHUB_WORKSPACE}/src/ s3://artio-static-asset-public --delete
echo "Deployment to S3 completed successfully."