Skip to content

Commit 1f5a0a6

Browse files
nully0xExtheoisah
authored andcommitted
fix triger
remove test specify project create docker prod file create docker prod file create docker prod file create docker prod file create docker prod file specify prod
1 parent c9279d0 commit 1f5a0a6

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/build-public-inbox.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,24 @@ jobs:
2929
push: true
3030
tags: bitcoindevproject/public-inbox:latest
3131
no-cache: true
32+
33+
deploy:
34+
needs: build
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v2
40+
41+
- name: Use Node 18
42+
uses: actions/setup-node@v1
43+
with:
44+
node-version: 18.x
45+
46+
- name: Install Railway
47+
run: npm i -g @railway/cli
48+
49+
- name: Deploy
50+
run: railway up --service public-inbox
51+
env:
52+
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}

Dockerfile.prod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM cryptochap/public-inbox:latest
2+
3+
CMD [ "public-inbox-httpd" ]

0 commit comments

Comments
 (0)