fuware-be/.gitea/workflows/test-self.yaml
Sam Liu 18f0f78de0
All checks were successful
Gitea Actions Demo / check (push) Successful in 9s
update CICD
2024-09-30 18:27:47 +07:00

22 lines
613 B
YAML

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-be
- 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 }}."