From 8e28e37ec2aeacc5a6a1f720257d80d7dac7a6b9 Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Sun, 3 Nov 2019 17:50:44 -0500 Subject: [PATCH] Squash of GitHub Actions implementation --- .github/workflows/push.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..7b03c91 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,21 @@ + +name: Push to S3 + +on: ['push'] +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v1 + - name: Ship to S3 + uses: jakejarvis/s3-sync-action@master + with: + args: --follow-symlinks --delete + env: + SOURCE_DIR: cloudformation + AWS_REGION: "us-east-1" + DEST_DIR: nakama/develop/cloudformation + AWS_S3_BUCKET: sumu-stacks + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} \ No newline at end of file