From 91947874b639a129aa4cf6552f09c297c895fffa Mon Sep 17 00:00:00 2001 From: m-chandler Date: Sat, 1 Feb 2025 07:34:30 +1000 Subject: Add github workflow to copy latest cf.yml to s3 bucket. --- .github/workflows/blank.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/blank.yml (limited to '.github/workflows') 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 -- cgit v1.2.3