Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored May 31, 2024
1 parent 892de89 commit 128dce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ jobs:
- uses: actions/checkout@v2

- name: Deploy apollo-prd
uses: fewensa/railway-redeploy@main
uses: fewensa/action-railway-redeploy@main
if: startsWith(github.ref, 'refs/tags/v')
with:
railway_token: ${{ secrets.RAILWAY_TOKEN }}
environment_id: "97eba9bb-0d0e-43ce-a9c1-5ea78b7891ef"
service_id: "15b7ef1b-90f0-4fae-8404-97a4d790c271"

- name: Deploy apollo-stg
uses: fewensa/railway-redeploy@main
uses: fewensa/action-railway-redeploy@main
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
with:
railway_token: ${{ secrets.RAILWAY_TOKEN }}
Expand Down

0 comments on commit 128dce4

Please sign in to comment.