Skip to content

Commit

Permalink
Update deployment method
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored May 30, 2024
1 parent ffb42c4 commit ff4d660
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,16 @@ jobs:
deploy-railway:
name: Deploy railway
runs-on: ubuntu-latest
needs: [publish-docker-image]
steps:
- uses: actions/checkout@v2

- name: Deploy ormonitor
uses: fewensa/railway-deploy@main
uses: fewensa/railway-redeploy@main
if: startsWith(github.ref, 'refs/tags/v')
with:
railway_token: ${{ secrets.RAILWAY_TOKEN_PRD }}
service: "ormonitor"
path: server
railway_token: ${{ secrets.RAILWAY_TOKEN }}
environment_id: "4dedc55b-f25a-4ebf-9af6-58bc04c48bce"
service_id: "4564b9b1-29dc-4526-bc7d-b5f3c0606a14"


0 comments on commit ff4d660

Please sign in to comment.