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:
|
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user