diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/blank.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..7bcda11 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,22 @@ +name: Push to S3 + +on: + push: + branches: + - master + +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: Copy cf.yml to S3 bucket + run: | + aws s3 cp cf.yml s3://factorio-spot-pricing |
