Skip to content

Commit eed1541

Browse files
authored
Merge pull request #2 from bitcoin-dev-project/refactor
fix triger
2 parents c9279d0 + 79e1dc4 commit eed1541

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 bitcoindevproject/public-inbox:latest
2+
3+
CMD [ "public-inbox-httpd" ]

0 commit comments

Comments
 (0)