Skip to content

Commit

Permalink
👷 Updated release pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
LNA-DEV committed Oct 22, 2023
1 parent b1c6311 commit 4f75a20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/HugoBuildAndDeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,12 @@ jobs:
# Checkout the repository
- uses: actions/checkout@v3

- name: Find and Replace
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "{{RUN_NUMBER}}"
replace: ${{ github.run_number }}
regex: false

# Deploy Kubernetes YAML
- run: kubectl apply -f ./Kubernetes/Fachinformatiker-Prüfungsvorbereitung.yaml --kubeconfig ${{ steps.write_file.outputs.filePath }}
2 changes: 1 addition & 1 deletion deployment/Fachinformatiker-Prüfungsvorbereitung.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: fi-pv
image: lnadev/fi-pv:86
image: lnadev/fi-pv:{{RUN_NUMBER}}
imagePullPolicy: Always
resources:
limits:
Expand Down

0 comments on commit 4f75a20

Please sign in to comment.