Skip to content

Commit

Permalink
Merge pull request #2 from bitcoin-dev-project/refactor
Browse files Browse the repository at this point in the history
fix triger
  • Loading branch information
Extheoisah authored May 17, 2024
2 parents c9279d0 + 79e1dc4 commit eed1541
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 bitcoindevproject/public-inbox:latest

CMD [ "public-inbox-httpd" ]

0 comments on commit eed1541

Please sign in to comment.