Skip to content

Commit 9194787

Browse files
authored
Add github workflow to copy latest cf.yml to s3 bucket.
1 parent b763c87 commit 9194787

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/blank.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Push to S3
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Setup AWS CLI
15+
uses: aws-actions/configure-aws-credentials@v1
16+
with:
17+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
18+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
19+
aws-region: us-east-1
20+
- name: Copy cf.yml to S3 bucket
21+
run: |
22+
aws s3 cp cf.yml s3://factorio-spot-pricing

0 commit comments

Comments
 (0)