Update .github/workflows/deploy-docs.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alexa Amundson
2025-11-19 14:09:48 -06:00
committed by GitHub
parent 1a19f974e8
commit 573df21d1a

View File

@@ -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 }}