We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 056f30f commit 3a9cc2bCopy full SHA for 3a9cc2b
1 file changed
.github/workflows/cnb.yml
@@ -1,4 +1,4 @@
1
-name: cnb.yml
+name: Sync to CNB
2
3
on:
4
push
@@ -15,4 +15,4 @@ jobs:
15
run: |
16
git clone --mirror "https://github.com/$SOURCE_REPO.git" -- repo
17
cd repo
18
- git push --mirror "https://${{ secrets.CNB_SYNC_USERNAME }}:${{ secrets.CNB_SYNC_TOKEN }}@cnb.cool/$TARGET_REPO.git"
+ git push -f --prune "https://${{ secrets.CNB_SYNC_USERNAME }}:${{ secrets.CNB_SYNC_TOKEN }}@cnb.cool/$TARGET_REPO.git" "refs/heads/*:refs/heads/*" "refs/tags/*:refs/tags/*"
0 commit comments