tangled
alpha
login
or
join now
graham.systems
/
statusphere-react
forked from
samuel.fm/statusphere-react
0
fork
atom
the statusphere demo reworked into a vite/react app in a monorepo
0
fork
atom
overview
issues
pulls
pipelines
install railway from cargo
graham.systems
5 months ago
fd069c75
23b58b60
verified
This commit was signed with the committer's
known signature
.
graham.systems
SSH Key Fingerprint:
SHA256:Fvaam8TgCBeBlr/Fo7eA6VGAIAWmzjwUqUTw5o6anWA=
+11
-9
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
deploy.yml
+11
-9
.tangled/workflows/deploy.yml
···
10
10
11
11
dependencies:
12
12
nixpkgs:
13
13
-
- railway
13
13
+
- rustup
14
14
+
- gcc
14
15
15
16
steps:
16
17
- name: Check for required values
···
24
25
# exit 1
25
26
# fi
26
27
27
27
-
# - name: Commit evil
28
28
-
# command: |
29
29
-
# echo $RAILWAY_TOKEN
30
30
-
# echo $RAILWAY_SERVICE_ID
31
31
-
#
28
28
+
- name: Install Rust toolchain
29
29
+
command: rustup default stable
30
30
+
31
31
+
- name: Install Railway CLI
32
32
+
command: cargo install railwayapp --locked
33
33
+
34
34
+
- name: Link bin executable
35
35
+
command: ln -s /.cargo/bin/railway /bin/railway
32
36
33
37
- name: Deploy to Railway
34
34
-
command: |
35
35
-
export RAILWAY_TOKEN=$RAILWAY_TOKEN
36
36
-
railway up --ci --service="0a1b60d9-2e57-4788-b37f-c6843021b3ea"
38
38
+
command: railway up --ci --service="0a1b60d9-2e57-4788-b37f-c6843021b3ea"