Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ jobs:
- name: Move event_data
run: |
cp -r event_data/ backend/
- name: Install & Configure Railway CLI
shell: bash
run: |
curl -fsSL https://railway.app/install.sh | bash
echo "$HOME/.railway/bin" >> $GITHUB_PATH
- name: Deploy to Railway
uses: railwayapp/deploy-action@v1
with:
token: ${{ secrets.RAILWAY_TOKEN }}
service: owl-be-alt
environment: production
- name: Set release version
uses: railwayapp/deploy-action@v1
with:
token: ${{ secrets.RAILWAY_TOKEN }}
command: variables --set RELEASE_VERSION=${{ github.event.release.tag_name }} --service owl-be-alt --skip-deploys
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
run: |
cd backend
railway variables --set RELEASE_VERSION=${{ github.event.release.tag_name }} --service owl-be-alt --skip-deploys
railway up --service owl-be-alt
Loading