+25
-1
.tangled/workflows/github.yml
+25
-1
.tangled/workflows/github.yml
···
30
30
echo "Host github.com" >> /etc/ssh/ssh_config
31
31
echo " User git" >> /etc/ssh/ssh_config
32
32
echo " IdentityFile /tmp/key-ssh-github" >> /etc/ssh/ssh_config
33
-
- name: Push to GitHub
33
+
- name: Push * to GitHub
34
34
command: |
35
35
git remote add github git@github.com:FreshlyBakedCake/Patisserie.git
36
36
git fetch --unshallow origin
37
37
git fetch github
38
38
git push github HEAD:refs/heads/release
39
+
- name: Write SSH Key
40
+
command: |
41
+
echo "$KEY_SSH_GITHUB_PACKETMIX" > /tmp/key-ssh-github
42
+
chmod 600 /tmp/key-ssh-github
43
+
- name: Push packetmix to GitHub
44
+
command: |
45
+
cd ..
46
+
git clone https://git.freshlybakedca.ke/patisserie.git:workspace=projects/packetmix.git
47
+
cd packetmix
48
+
git remote add github git@github.com:FreshlyBakedCake/PacketMix.git
49
+
git fetch github
50
+
git push github origin/refs/heads/release:refs/heads/release
51
+
- name: Write SSH Key
52
+
command: |
53
+
echo "$KEY_SSH_GITHUB_SPRINKLES" > /tmp/key-ssh-github
54
+
chmod 600 /tmp/key-ssh-github
55
+
- name: Push sprinkles to GitHub
56
+
command: |
57
+
cd ..
58
+
git clone https://git.freshlybakedca.ke/patisserie.git:workspace=projects/sprinkles.git
59
+
cd packetmix
60
+
git remote add github git@github.com:FreshlyBakedCake/Sprinkles.git
61
+
git fetch github
62
+
git push github origin/refs/heads/release:refs/heads/release