Add bridge code to the project
This commit is contained in:
20
.gitea/workflows/deploy.yml
Normal file
20
.gitea/workflows/deploy.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Deploy Runner-Bridge Application
|
||||
run-name: ${{gitea.actor}} is deploying Runner-Bridge Application 🚀
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Railway CLI
|
||||
uses: npm i -g @railway/cli
|
||||
|
||||
- name: Deploy to Railway
|
||||
uses: railway up --ci --service runner-bridge
|
||||
env:
|
||||
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
|
||||
Reference in New Issue
Block a user