-13
.tangled/workflows/deploy.yaml
-13
.tangled/workflows/deploy.yaml
···
9
9
- flyctl
10
10
11
11
steps:
12
-
- name: verify flyctl
13
-
command: |
14
-
flyctl version
15
-
16
-
- name: check token
17
-
command: |
18
-
if [ -z "$FLY_API_TOKEN" ]; then
19
-
echo "FLY_API_TOKEN is not set"
20
-
exit 1
21
-
else
22
-
echo "FLY_API_TOKEN is set (length: ${#FLY_API_TOKEN})"
23
-
fi
24
-
25
12
- name: deploy to fly.io
26
13
command: |
27
14
flyctl deploy --remote-only