This commit is contained in:
parent
7b99ac50ae
commit
7c16850fc4
23
.gitea/workflows/deploy-prod.yaml
Normal file
23
.gitea/workflows/deploy-prod.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
name: Deploy Prod
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- prod
|
||||
types: [closed]
|
||||
|
||||
jobs:
|
||||
deploy-prod:
|
||||
name: Deploy prod
|
||||
runs-on: [prod]
|
||||
needs: push
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: prod
|
||||
- name: deploy
|
||||
env:
|
||||
VPN_PASSWORD: ${{ secrets.VPN_PASSWORD }}
|
||||
VPN_IPSEC_PSK: ${{ secrets.VPN_IPSEC_PSK }}
|
||||
run: docker stack deploy --with-registry-auth -c ./.deploy/deploy-prod.yaml vpn
|
Loading…
Reference in New Issue
Block a user