ci: Docker build and Gitea Actions deploy workflow
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build and redeploy
|
||||
run: |
|
||||
docker compose build kotobane
|
||||
docker compose up -d --no-deps kotobane
|
||||
Reference in New Issue
Block a user