Reorganize directories

This commit is contained in:
Layla 2020-04-25 23:01:30 -04:00
parent 88020c8c57
commit 93fb4b42ca
5 changed files with 3 additions and 28 deletions

View File

@ -17,9 +17,9 @@ jobs:
with:
args: --follow-symlinks --delete
env:
SOURCE_DIR: cloudformation
SOURCE_DIR: "./"
AWS_REGION: "us-east-1"
DEST_DIR: actions/cloudformation
DEST_DIR: actions/cloudformation/cluster
AWS_S3_BUCKET: ${{ secrets.DEPLOY_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@ -33,6 +33,6 @@ jobs:
uses: aws-actions/aws-cloudformation-github-deploy@v1
with:
name: ecs-cluster
template: cloudformation/cluster/top.yaml
template: top.yaml
capabilities: "CAPABILITY_NAMED_IAM,CAPABILITY_IAM"
parameter-overrides: VpcId=${{ secrets.VPC_ID }},SubnetIds=${{ secrets.SUBNET_IDS }},Project=General,Environment=Main

View File

@ -1,25 +0,0 @@
name: Push Production Release
on:
push:
branches:
- develop
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/production/cloudformation
AWS_S3_BUCKET: sumu-stacks
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}