feat: add release workflow — orchestrates full release pipeline #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy | ||
| on: | ||
| push: | ||
| branches: [master] | ||
| concurrency: | ||
| group: deploy-production | ||
| cancel-in-progress: false | ||
| jobs: | ||
| ci: | ||
| name: CI Check | ||
| uses: ./.github/workflows/ci.yml | ||
|
Check failure on line 14 in .github/workflows/deploy.yml
|
||
| deploy: | ||
| name: Deploy to Railway | ||
| runs-on: ubuntu-latest | ||
| needs: ci | ||
| timeout-minutes: 15 | ||
| env: | ||
| RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Install Railway CLI | ||
| run: npm install -g @railway/cli | ||
| - name: Deploy to Railway | ||
| run: railway up --detach | ||