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
does this work instead
veryroundbird.house
6 months ago
bfa94a7a
4ef3d78e
0/1
build.yml
failed
14s
+1
-14
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
build.yml
+1
-14
.tangled/workflows/build.yml
···
14
14
command: |
15
15
echo "🪶 copying config from secrets"
16
16
echo "${CONFIG}" > config.ts
17
17
-
echo "🪶 debugging config"
18
18
-
cat config.ts
19
17
20
18
- name: "Set up Deno"
21
19
command: |
···
32
30
mkdir ~/.ssh
33
31
echo "${SSH_KEY}" > ~/.ssh/id_tangledsh
34
32
chmod 600 ~/.ssh/id_tangledsh
35
35
-
cat > ~/.ssh/config << EOF
36
36
-
Host deploy
37
37
-
HostName ${SERVER_HOST}
38
38
-
User ${SERVER_USER}
39
39
-
IdentityFile ~/.ssh/id_tangledsh
40
40
-
StrictHostKeyChecking accept-new
41
41
-
BatchMode yes
42
42
-
PasswordAuthentication no
43
43
-
PubkeyAuthentication yes
44
44
-
EOF
45
45
-
chmod 600 ~/.ssh/config
46
33
ssh-keyscan -H ${SERVER_HOST} >> ~/.ssh/known_hosts
47
34
echo "🪶 setting up ssh connection"
48
35
49
36
- name: "Deploy via SCP"
50
37
command: |
51
38
echo "🪶 deploying files via scp"
52
52
-
scp -r ./dist/* deploy:/pds/caddy/etc/caddy/static
39
39
+
scp -r ./dist/* ${SERVER_USER}@${SERVER_HOST}:/pds/caddy/etc/caddy/static
53
40
54
41
- name: "Done!"
55
42
command: |