File tree 2 files changed +19
-10
lines changed
2 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 37
37
- name : Configure AWS credentials
38
38
uses : aws-actions/configure-aws-credentials@v1
39
39
with :
40
- # role-to-assume: arn:aws:iam::${{ env.AWS_ACCOUNT_ID }}:role/github-actions-role
41
- role-to-assume : arn:aws:iam::381177214925:role/github-actions-role
42
- aws-region : us-east-1
40
+ role-to-assume : arn:aws:iam::${{ env.AWS_ACCOUNT_ID }}:role/github-actions-role
41
+ aws-region : ${{ env.AWS_REGION }}
43
42
role-session-name : GithubActions
44
43
45
44
# gather metadata from git & github actions to reference in docker
Original file line number Diff line number Diff line change 1
1
# Copyright 2020 ChainSafe Systems
2
2
# SPDX-License-Identifier: LGPL-3.0-only
3
-
4
- name : Release
3
+
4
+ name : Deploy Release
5
5
on :
6
6
push :
7
7
branches :
8
- - main
9
-
8
+ - ' fix/actions-deployment'
10
9
jobs :
11
- release-please :
10
+ release :
11
+ permissions : write-all
12
12
runs-on : ubuntu-latest
13
+ outputs :
14
+ release_created : ${{ steps.release.outputs.release_created }}
15
+ tag : ${{ steps.release.outputs.tag_name }}
13
16
steps :
14
17
-
uses :
GoogleCloudPlatform/[email protected]
15
- id : release
18
+ id : release
16
19
with :
17
20
release-type : go
18
-
21
+ token : ${{secrets.GITHUB_TOKEN}}
22
+
23
+ deploy-services :
24
+ needs : release
25
+ uses : ChainSafe/nodewatch-api/.github/workflows/build-deploy-prod.yml@fix/actions-deployment
26
+ if : ${{ needs.release.outputs.release_created }}
27
+ with :
28
+ tag : ${{ needs.release.outputs.tag }}
You can’t perform that action at this time.
0 commit comments