-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 1.03 KB
/
check-spawn.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
##
## Spawn Pull Request to sandbox
##
name: spawn
on:
pull_request:
types:
- labeled
jobs:
it:
strategy:
matrix:
stack:
- blueprint-golang
if: github.event.label.name == '[A] deploy'
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- id: deploy
uses: fogfish/deploy-cdk-go@latest
with:
go-version: "1.21"
stack: ${{ matrix.stack }}
version: pr${{ github.event.number }}
issue-to-comment: ${{ github.event.number }}
aws-access-key: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-1
- uses: assay-it/github-actions-quality-check@latest
with:
install-go: false
system-under-test: ${{ steps.deploy.outputs.deployed-api }}
- uses: buildsville/add-remove-label@v1
if: always()
with:
token: ${{secrets.GITHUB_TOKEN}}
label: '[A] deploy'
type: remove