Squash of GitHub Actions implementation
This commit is contained in:
parent
b5e72c7a6b
commit
8e28e37ec2
21
.github/workflows/push.yml
vendored
Normal file
21
.github/workflows/push.yml
vendored
Normal file
@ -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 }}
|
Loading…
Reference in New Issue
Block a user