-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 1.18 KB
/
pull-request-cleanup.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
name: pull-request-cleanup
on:
pull_request:
branches: [ master ]
types: [ closed ]
jobs:
rollback-aepp:
uses: aeternity/github-actions/.github/workflows/_rollback-gitops.yml@v2.1.0
secrets: inherit
with:
DEPLOY_ENV: stg
DEPLOY_APP: aepp-graffiti
DEPLOY_VERSION: "pr-${{ github.event.number }}"
DEPLOY_SUBDOMAIN: "pr-${{ github.event.number }}-graffiti"
delete-tag-aepp:
uses: aeternity/github-actions/.github/workflows/_delete-tag-docker.yml@v2.1.0
secrets: inherit
with:
DOCKERHUB_REPO: "aeternitybot/aepp-graffiti"
DOCKERHUB_TAG: "pr-${{ github.event.number }}"
rollback-server:
uses: aeternity/github-actions/.github/workflows/_rollback-gitops.yml@v2.1.0
secrets: inherit
with:
DEPLOY_ENV: stg
DEPLOY_APP: graffiti-server-testnet
DEPLOY_VERSION: "pr-${{ github.event.number }}"
DEPLOY_SUBDOMAIN: "pr-${{ github.event.number }}-graffiti-server-testnet"
delete-tag-server:
uses: aeternity/github-actions/.github/workflows/_delete-tag-docker.yml@v2.1.0
secrets: inherit
with:
DOCKERHUB_REPO: "aeternitybot/graffiti-server"
DOCKERHUB_TAG: "pr-${{ github.event.number }}"