Skip to content

Commit

Permalink
fix triger
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nully0x authored and Extheoisah committed May 17, 2024
1 parent c9279d0 commit 1f5a0a6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build-public-inbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,24 @@ jobs:
push: true
tags: bitcoindevproject/public-inbox:latest
no-cache: true

deploy:
needs: build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Install Railway
run: npm i -g @railway/cli

- name: Deploy
run: railway up --service public-inbox
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
3 changes: 3 additions & 0 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM cryptochap/public-inbox:latest

CMD [ "public-inbox-httpd" ]

0 comments on commit 1f5a0a6

Please sign in to comment.