Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 79d6e9e1b3 | |||
| 1463b4b78f |
@@ -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
|
||||||
@@ -78,9 +78,17 @@ services:
|
|||||||
GITEA__service__DISABLE_REGISTRATION: true
|
GITEA__service__DISABLE_REGISTRATION: true
|
||||||
GITEA__other__SHOW_FOOTER_VERSION: false
|
GITEA__other__SHOW_FOOTER_VERSION: false
|
||||||
GITEA__other__SHOW_FOOTER_POWERED_BY: 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:
|
git-runner:
|
||||||
image: 'gitea/act_runner:latest'
|
image: 'gitea/act_runner:latest'
|
||||||
|
depends_on:
|
||||||
|
git:
|
||||||
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
CONFIG_FILE: /config.yaml
|
CONFIG_FILE: /config.yaml
|
||||||
GITEA_INSTANCE_URL: "${GITEA_URL}"
|
GITEA_INSTANCE_URL: "${GITEA_URL}"
|
||||||
|
|||||||
Reference in New Issue
Block a user