+11
-9
.tangled/workflows/deploy.yml
+11
-9
.tangled/workflows/deploy.yml
···
10
11
dependencies:
12
nixpkgs:
13
-
- railway
14
15
steps:
16
- name: Check for required values
···
24
# exit 1
25
# fi
26
27
-
# - name: Commit evil
28
-
# command: |
29
-
# echo $RAILWAY_TOKEN
30
-
# echo $RAILWAY_SERVICE_ID
31
-
#
32
33
- name: Deploy to Railway
34
-
command: |
35
-
export RAILWAY_TOKEN=$RAILWAY_TOKEN
36
-
railway up --ci --service="0a1b60d9-2e57-4788-b37f-c6843021b3ea"
···
10
11
dependencies:
12
nixpkgs:
13
+
- rustup
14
+
- gcc
15
16
steps:
17
- name: Check for required values
···
25
# exit 1
26
# fi
27
28
+
- name: Install Rust toolchain
29
+
command: rustup default stable
30
+
31
+
- name: Install Railway CLI
32
+
command: cargo install railwayapp --locked
33
+
34
+
- name: Link bin executable
35
+
command: ln -s /.cargo/bin/railway /bin/railway
36
37
- name: Deploy to Railway
38
+
command: railway up --ci --service="0a1b60d9-2e57-4788-b37f-c6843021b3ea"