update runner
All checks were successful
Gitea Actions Demo / check (push) Successful in 1m40s

This commit is contained in:
Sam Liu 2024-09-30 17:30:24 +07:00
parent 8f47e551b0
commit 2c013eee24
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,21 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is fuware be STG
on:
push:
branches: [develop]
jobs:
check:
runs-on: self-hosted
defaults:
run:
working-directory: /home/raysam/act-runner-host/repo
steps:
- run: git --version
- run: rm -rf fuware-fe
- run: git clone ssh://git@thamluu.synology.me:222/sam/fuware-be.git fuware-be
- name: run docker
working-directory: /home/raysam/act-runner-host/repo/fuware-be
run: git switch develop && docker compose up --build -d
- run: echo "🍏 This job's status is ${{ job.status }}."

View File

@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile
restart: always
volumes:
- fuware-data:/app/data/
- /home/raysam/act-runner-host/repo/dbdetail:/app/data/
ports:
- 16002:9000
environment: