File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 1- name : Mirror to Codeberg + PrivacyGuides
1+ name : Mirror to Codeberg
22
33on :
44 push :
@@ -13,26 +13,17 @@ jobs:
1313 - name : Checkout code
1414 uses : actions/checkout@v3
1515 with :
16- fetch-depth : 0 # test
16+ fetch-depth : 0
1717
1818 - name : Set up SSH
1919 run : |
2020 mkdir -p ~/.ssh
21- echo "${{ secrets.CODEBERG_SSH_KEY }}" > ~/.ssh/id_ed25519_codeberg
22- chmod 600 ~/.ssh/id_ed25519_codeberg
21+ echo "${{ secrets.CODEBERG_SSH_KEY }}" > ~/.ssh/id_ed25519
22+ chmod 600 ~/.ssh/id_ed25519
2323 ssh-keyscan codeberg.org >> ~/.ssh/known_hosts
24- echo "${{ secrets.PRIVACYGUIDES_SSH_KEY }}" > ~/.ssh/id_ed25519_privacy
25- chmod 600 ~/.ssh/id_ed25519_privacy
26- ssh-keyscan code.privacyguides.dev >> ~/.ssh/known_hosts
2724
2825 - name : Push to Codeberg
2926 run : |
3027 git remote remove codeberg || true
3128 git remote add codeberg [email protected] :SecureBitChat/securebit-chat.git 32- GIT_SSH_COMMAND="ssh -i ~/.ssh/id_ed25519_codeberg" git push codeberg main --force
33-
34- - name : Push to PrivacyGuides
35- run : |
36- git remote remove privacy || true
37- git remote add privacy [email protected] :SecureBitChat/securebit-chat.git 38- GIT_SSH_COMMAND="ssh -i ~/.ssh/id_ed25519_privacy" git push privacy main --force
29+ git push codeberg main --force
You can’t perform that action at this time.
0 commit comments