chore: change runner type in test.yaml from ubuntu-latest to self-hosted for build and deploy jobs
This commit is contained in:
parent
29404d88c9
commit
24222b0b41
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: http://gitea.xkkxyy.com/actions/checkout@main
|
||||
@ -16,7 +16,7 @@ jobs:
|
||||
continue-on-error: true
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: self-hosted
|
||||
needs: build
|
||||
steps:
|
||||
- name: Debug directory
|
||||
@ -27,4 +27,4 @@ jobs:
|
||||
echo "Listing /opt/docker:"
|
||||
ls -l /opt
|
||||
- name: Deploy to Test
|
||||
run: exit && cd /opt/docker
|
||||
run: cd /opt/docker
|
||||
|
||||
Loading…
Reference in New Issue
Block a user