fix build pipeline

This commit is contained in:
m5r 2021-08-20 10:21:08 +08:00
parent d89349582b
commit 3926223d5c

View File

@ -52,4 +52,4 @@ jobs:
- run: npm i -g @railway/cli
- run: railway up
env:
RAILWAY_TOKEN: "${{ github.ref }} === 'refs/heads/master' ? '${{ secrets.RAILWAY_TOKEN_PROD }}' : '${{ secrets.RAILWAY_TOKEN_DEV }}'"
RAILWAY_TOKEN: "${{ github.ref }} === 'refs/heads/master' ? ${{ secrets.RAILWAY_TOKEN_DEV }} : ${{ secrets.RAILWAY_TOKEN_PROD }}"