Fixing Qwertylex's bug.

This commit is contained in:
2025-04-16 23:09:59 -04:00
parent fa83011226
commit 4d25d7e019
3 changed files with 89 additions and 69 deletions

View File

@@ -5,26 +5,30 @@ on:
- completed
jobs:
Deploy:
name: Deploy
name: 🚀 Deploy
runs-on: ubuntu-latest
steps:
- name: Add Siteworx CA
- name: 🛡 Add Siteworx CA
run: |
apt update && apt install -yq ca-certificates curl
curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt
update-ca-certificates
- name: Checkout code
- name: 📖 Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Update Deployment Manifest
- name: 📝 Update Deployment Manifest
run: |
sed "s|scr.siteworxpro.com/reloading-manager/frontend:__TAG__|scr.siteworxpro.com/reloading-manager/frontend:${{ gitea.ref_name }}|g" argocd/template/deployment.yml > argocd/deployment/deployment.yml
sed "s|scr.siteworxpro.com/reloading-manager/backend:__TAG__|scr.siteworxpro.com/reloading-manager/backend:${{ gitea.ref_name }}|g" argocd/template/deployment.yml > argocd/deployment/deployment.yml
- name: Commit Changes
- name: 💾 Commit Changes
uses: EndBug/add-and-commit@v9
with:
add: argocd/
author_name: "GitHub Action"
author_email: gitia@siteworxpro.com
message: "Update deployment manifest with new image tags"
message: "Update deployment manifest with new image tags"