diff options
| author | m-chandler <mchandler89@gmail.com> | 2025-02-01 07:34:30 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-01 07:34:30 +1000 |
| commit | 91947874b639a129aa4cf6552f09c297c895fffa (patch) | |
| tree | b3a434791f6998186aebbd922e5d171fb8d5d4ed /.github | |
| parent | b763c87d58d76a4a64cdcdd65769537d9372de50 (diff) | |
Add github workflow to copy latest cf.yml to s3 bucket.
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 |
