This commit is contained in:
parent
b13e73e726
commit
30b38e7247
18
.gitea/workflows/go-deploy.yaml
Normal file
18
.gitea/workflows/go-deploy.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
run-name: ${{ gitea.actor }}, deploy with ssh
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Rebuild docker compose
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
script: |
|
||||
cd /home/log101/prod/log101.dev-services
|
||||
git pull
|
||||
docker compose up -d --build
|
Loading…
Reference in New Issue
Block a user