-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 995 Bytes
/
deploy_prod.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
name: Deploy in production
on:
push:
branches:
- prod
workflow_dispatch:
jobs:
create_tag:
uses: ./.github/workflows/create_tag.yml
secrets: inherit
build_server:
needs: create_tag
uses: ./.github/workflows/build_server_image.yml
secrets: inherit
build_webapp:
needs: create_tag
uses: ./.github/workflows/build_web_image.yml
secrets: inherit
deploy_release:
needs: [build_server, build_webapp]
uses: ./.github/workflows/create_release.yml
secrets: inherit
update_sera_app:
needs: [build_server, build_webapp]
uses: ./.github/workflows/install_sera.yml
secrets: inherit
notify:
needs: [deploy_release, update_sera_app]
runs-on: ubuntu-latest
steps:
- name: Notify production build & published
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "New production just build, see the new git release !"