Skip to content

Commit

Permalink
🔨 hotfix: cd pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerohertz committed Jan 23, 2025
1 parent aa448e7 commit 0720497
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths-ignore:
- "k8s/deploy/backend.yaml"
- "k8s/prod/backend.yaml"

jobs:
ci:
Expand Down Expand Up @@ -42,13 +42,13 @@ jobs:

- name: Change manifest
run: |
sed -i 's|ghcr.io/co-co-gong/co-co-gong-server:[^ ]*|ghcr.io/co-co-gong/co-co-gong-server:${{ github.sha }}|' k8s/deploy/backend.yaml
sed -i 's|ghcr.io/co-co-gong/co-co-gong-server:[^ ]*|ghcr.io/co-co-gong/co-co-gong-server:${{ github.sha }}|' k8s/prod/backend.yaml
- name: git push
run: |
git config user.name "Zerohertz"
git config user.email "[email protected]"
git config credential.helper store
git add k8s/deploy/backend.yaml
git add k8s/prod/backend.yaml
git commit -m ":tada: deploy: co-co-gong-server [${{ github.sha }}]"
git push origin ${{ github.ref_name }}
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- "*"
- "*/*/*"
paths-ignore:
- "k8s/deploy/backend.yaml"
- "k8s/prod/backend.yaml"
pull_request:
branches:
- main
paths-ignore:
- "k8s/deploy/backend.yaml"
- "k8s/prod/backend.yaml"

permissions:
contents: write
Expand Down

0 comments on commit 0720497

Please sign in to comment.