Skip to content

Merge pull request #1 from electricgull/new-workflow #1

Merge pull request #1 from electricgull/new-workflow

Merge pull request #1 from electricgull/new-workflow #1

Workflow file for this run

name: Deploy to S3
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup AWS CLI
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-1
- name: Sync files to S3 bucket
run: |
aws s3 sync website/ s3://emwav-net --delete