From 3597a30cdd5b213b892d07517c783f6532790351 Mon Sep 17 00:00:00 2001 From: Mykhailo Svishchov Date: Fri, 6 Mar 2026 23:04:08 +0200 Subject: [PATCH] added gitea runner --- .gitea/workflows/deploy.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..63bc0d5 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,29 @@ +name: Deploy to Railway +on: + push: + branches: + - main # Only deploy when you push to the main branch + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + + - name: Install Railway CLI + run: npm install -g @railway/cli + + - name: Deploy to honey-be + run: | + railway up --detach \ + --project ddbcce93-869f-4df5-bad3-cc039e399b71 \ + --service fe805e80-39a8-41a7-8e79-674b100a1c17 \ + --environment 60d98b00-3ea0-497d-ab08-58aa37001500 + env: + RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}