We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7b47cd commit bcf4ceaCopy full SHA for bcf4cea
1 file changed
.github/workflows/build.yml
@@ -16,8 +16,18 @@ jobs:
16
uses: actions/checkout@v3
17
with:
18
submodules: recursive
19
+ - name: Install AWS CLI
20
+ run: pip install --user awscli
21
- name: Build
22
run: make
23
+ - name: Publish
24
+ if: startsWith(github.ref, 'refs/tags/')
25
+ env:
26
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
27
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
28
+ AWS_DEFAULT_REGION: us-east-1
29
+ BUCKET: akerl-githubauthlambda
30
+ run: aws s3 cp pkg/payload.zip "s3://$BUCKET/$GITHUB_REF_NAME.zip"
31
- name: Release
32
if: startsWith(github.ref, 'refs/tags/')
33
run: make release
0 commit comments