tangled
alpha
login
or
join now
veryroundbird.house
/
pds-dash
4
fork
atom
pds dash for shimaenaga.veryroundbird.house (based off of pds.witchcraft.systems)
4
fork
atom
overview
issues
pulls
pipelines
see if this fixes the pipeline
veryroundbird.house
6 months ago
6fb58055
c7613d9d
0/1
build.yml
failed
15s
+5
-9
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
build.yml
+5
-9
.tangled/workflows/build.yml
reviewed
···
12
12
- name: "Copy config to server"
13
13
command: |
14
14
echo "🪶 copying config from secrets"
15
15
-
CONF=$(cat << "EOF"
16
16
-
${{ secrets.CONFIG }}
17
17
-
EOF
18
18
-
)
15
15
+
echo "${CONFIG}" > config.ts
19
16
echo "🪶 debugging config"
20
20
-
echo "${CONF}" > config.ts
21
17
cat config.ts
22
18
23
19
- name: "Set up Deno"
···
33
29
- name: "SSH setup"
34
30
command: |
35
31
mkdir ~/.ssh
36
36
-
echo "${{secrets.SSH_KEY}}" > ~/.ssh/id_tangledsh
32
32
+
echo "${SSH_KEY}" > ~/.ssh/id_tangledsh
37
33
chmod 600 ~/.ssh/id_tangledsh
38
34
cat > ~/.ssh/config << EOF
39
35
Host deploy
40
40
-
HostName ${{ secrets.SERVER_HOST }}
41
41
-
User ${{ secrets.SERVER_USER }}
36
36
+
HostName ${SERVER_HOST}
37
37
+
User ${SERVER_USER}
42
38
IdentityFile ~/.ssh/id_tangledsh
43
39
StrictHostKeyChecking accept-new
44
40
BatchMode yes
···
46
42
PubkeyAuthentication yes
47
43
EOF
48
44
chmod 600 ~/.ssh/config
49
49
-
ssh-keyscan -H ${{ secrets.SERVER_HOST }} >> ~/.ssh/known_hosts
45
45
+
ssh-keyscan -H ${SERVER_HOST} >> ~/.ssh/known_hosts
50
46
echo "🪶 setting up ssh connection"
51
47
52
48
- name: "Deploy via SCP"