This commit is contained in:
parent
8f47e551b0
commit
2c013eee24
21
.gitea/workflows/test-self.yaml
Normal file
21
.gitea/workflows/test-self.yaml
Normal 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 }}."
|
@ -7,7 +7,7 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- fuware-data:/app/data/
|
- /home/raysam/act-runner-host/repo/dbdetail:/app/data/
|
||||||
ports:
|
ports:
|
||||||
- 16002:9000
|
- 16002:9000
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user