forked from Invertex/UDHBot
-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (36 loc) · 842 Bytes
/
deploy-prod.yml
File metadata and controls
40 lines (36 loc) · 842 Bytes
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
name: Deploy Prod
on:
push:
branches: [master]
paths-ignore:
- "k8s/**"
- "**/*.md"
- "docs/**"
workflow_dispatch:
concurrency:
group: deploy-prod
cancel-in-progress: false
jobs:
build:
uses: ./.github/workflows/build.yml
with:
checkout_ref: master
image_name: udc-bot
permissions:
contents: read
packages: write
deploy:
needs: build
uses: ./.github/workflows/deploy.yml
with:
image_name: udc-bot
short_sha: ${{ needs.build.outputs.short_sha }}
manifest_path: k8s/prod/bot.yaml
manifest_ref: master
commit_message: "chore(k8s): update prod image to {sha}"
environment: prod
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
permissions:
contents: write