Skip to content

Commit 05ae6ef

Browse files
committed
updated workflow
1 parent 794bffd commit 05ae6ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cd_prod.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ jobs:
4646
build-args: |
4747
DATABASE_URL=${{ secrets.PROD_DATABASE }}
4848
49-
- name: Clone staging-ops repo, update, and push
49+
- name: Clone production-ops repo, update, and push
5050
env:
5151
PAT: ${{ secrets.PAT }}
5252
run: |
53-
git clone https://github.com/code100x/staging-ops.git
54-
cd staging-ops
55-
sed -i 's|image: 100xdevs/cms:.*|image: 100xdevs/cms:${{ github.sha }}|' prod/cms/deployment.yml
53+
git clone https://github.com/codes30/production-ops.git
54+
cd production-ops
55+
sed -i 's|image: 100xdevs/cms:.*|image: 100xdevs/cms:${{ github.sha }}|' 100xdevs/prod/cms/deployment.yml
5656
git config user.name "GitHub Actions Bot"
5757
git config user.email "[email protected]"
5858
git add prod/cms/deployment.yml
5959
git commit -m "Update cms image to ${{ github.sha }}"
60-
git push https://${PAT}@github.com/code100x/staging-ops.git main
60+
git push https://${PAT}@github.com/codes30/production-ops.git main

0 commit comments

Comments
 (0)