fuware-fe/.gitea/workflows/test-self.yaml
Sam Liu f496fd743c
Some checks failed
Gitea Actions Demo / check (push) Failing after 4s
update runner
2024-09-24 16:53:31 +07:00

22 lines
630 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
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-fe.git fuware-fe
- name: run docker
working-directory: /home/raysam/act-runner-host/repo/fuware-fe
run: git switch develop && docker compose up --build -d
- run: echo "🍏 This job's status is ${{ job.status }}."