Update .github/workflows/deploy-docs.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
9
.github/workflows/deploy-docs.yml
vendored
9
.github/workflows/deploy-docs.yml
vendored
@@ -48,12 +48,13 @@ jobs:
|
|||||||
echo "environment=dev" >> "$GITHUB_OUTPUT"
|
echo "environment=dev" >> "$GITHUB_OUTPUT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Install Railway CLI
|
||||||
|
if: ${{ secrets.RAILWAY_TOKEN != '' }}
|
||||||
|
run: npm install -g @railway/cli
|
||||||
|
|
||||||
- name: Deploy to Railway
|
- name: Deploy to Railway
|
||||||
if: ${{ secrets.RAILWAY_TOKEN != '' }}
|
if: ${{ secrets.RAILWAY_TOKEN != '' }}
|
||||||
uses: railwayapp/railway-action@v2
|
run: railway up --service docs-site --environment ${{ steps.env.outputs.environment }}
|
||||||
with:
|
|
||||||
service: docs-site
|
|
||||||
command: railway up --environment ${{ steps.env.outputs.environment }}
|
|
||||||
env:
|
env:
|
||||||
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
|
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user