chore: change runner type in test.yaml from ubuntu-latest to self-hosted for build and deploy jobs
Some checks failed
test / build (push) Failing after 1s
test / deploy (push) Has been skipped

This commit is contained in:
Kai 2025-03-24 17:59:49 +08:00
parent 29404d88c9
commit 24222b0b41

View File

@ -6,7 +6,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: http://gitea.xkkxyy.com/actions/checkout@main uses: http://gitea.xkkxyy.com/actions/checkout@main
@ -16,7 +16,7 @@ jobs:
continue-on-error: true continue-on-error: true
deploy: deploy:
runs-on: ubuntu-latest runs-on: self-hosted
needs: build needs: build
steps: steps:
- name: Debug directory - name: Debug directory
@ -27,4 +27,4 @@ jobs:
echo "Listing /opt/docker:" echo "Listing /opt/docker:"
ls -l /opt ls -l /opt
- name: Deploy to Test - name: Deploy to Test
run: exit && cd /opt/docker run: cd /opt/docker