forked from solana-labs/solana-ping-api
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.14 KB
/
main.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
name: deploy
on:
push:
branches: [ 'main' ]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mobiledevops/secret-to-file-action@v1
with:
base64-encoded-secret: ${{ secrets.CONFIG_YAML }}
filename: "config.yaml"
is-executable: false
working-directory: "./"
- uses: mobiledevops/secret-to-file-action@v1
with:
base64-encoded-secret: ${{ secrets.CONFIG_ATLASNET_YAML }}
filename: "config-atlasnet.yaml"
is-executable: false
working-directory: "./"
- uses: mobiledevops/secret-to-file-action@v1
with:
base64-encoded-secret: ${{ secrets.ID_JSON }}
filename: "id.json"
is-executable: false
working-directory: "./"
- uses: ./.github/actions/release
with:
repository: "artifacts-0"
project-name: "atlasnet"
app-name: "ping"
gcp-auth-key: ${{ secrets.GCP_AUTH_KEY }}
deploy-test:
needs: [ release ]
uses: ./.github/workflows/deploy-app.yml
with:
environment: 'test'
secrets: inherit