+11
-9
.tangled/workflows/deploy.yml
+11
-9
.tangled/workflows/deploy.yml
···
10
10
11
11
dependencies:
12
12
nixpkgs:
13
-
- railway
13
+
- rustup
14
+
- gcc
14
15
15
16
steps:
16
17
- name: Check for required values
···
24
25
# exit 1
25
26
# fi
26
27
27
-
# - name: Commit evil
28
-
# command: |
29
-
# echo $RAILWAY_TOKEN
30
-
# echo $RAILWAY_SERVICE_ID
31
-
#
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
32
36
33
37
- name: Deploy to Railway
34
-
command: |
35
-
export RAILWAY_TOKEN=$RAILWAY_TOKEN
36
-
railway up --ci --service="0a1b60d9-2e57-4788-b37f-c6843021b3ea"
38
+
command: railway up --ci --service="0a1b60d9-2e57-4788-b37f-c6843021b3ea"