Skip to content

terraform and file structures #17

terraform and file structures

terraform and file structures #17

Workflow file for this run

name: Upload Prepare Script
on: [ pull_request ]
env:
AWS_DEFAULT_REGION: us-east-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
jobs:
tests:
uses: ./.github/workflows/test.yml
publish:
name: deploy
needs: [ tests ]
runs-on: ubuntu-latest
steps:
- run: echo ''
- name: Checkout
uses: actions/checkout@v2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Upload to S3
run: |
./upload_prepare.sh