move rollout to separate job
This commit is contained in:
parent
6bbc5b24d7
commit
29f22759a4
1 changed files with 8 additions and 1 deletions
|
@ -19,8 +19,15 @@ jobs:
|
|||
tags: git.janky.solutions/jankysolutions/infra/synapse:latest
|
||||
platforms: linux/amd64
|
||||
push: ${{ github.ref == 'refs/heads/main' }}
|
||||
rollout:
|
||||
name: roll out update
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: git.janky.solutions/jankysolutions/infra/deployer:latest
|
||||
needs: [build-synapse]
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: roll out update
|
||||
if: github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
set -euo pipefail
|
||||
echo "${{ secrets.KUBERNETES_CLIENT_CONFIG }}" > ~/.kube/config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue