2 Commits

Author SHA1 Message Date
vbevdev 79d6e9e1b3 deploy workflow draft
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
2026-06-16 05:38:24 +03:00
vbevdev 1463b4b78f up runner after git healthy 2026-06-16 05:37:54 +03:00
2 changed files with 26 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name: Deploy
run-name: Deploy
on: workflow_dispatch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Execute Remote SSH Commands
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PASSWORD }}
port: 22
script: |
cd /home/vbevdev/test
touch hello-there.txt
+8
View File
@@ -78,9 +78,17 @@ services:
GITEA__service__DISABLE_REGISTRATION: true
GITEA__other__SHOW_FOOTER_VERSION: false
GITEA__other__SHOW_FOOTER_POWERED_BY: false
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"]
interval: 10s
timeout: 5s
retries: 3
git-runner:
image: 'gitea/act_runner:latest'
depends_on:
git:
condition: service_healthy
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "${GITEA_URL}"