chore: switch runner type in test.yaml from ubuntu-latest to self-hosted for both build and deploy jobs
This commit is contained in:
parent
ac88526613
commit
8a11774d98
5
.github/workflows/test.yaml
vendored
5
.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,10 +16,9 @@ jobs:
|
||||
continue-on-error: true
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: self-hosted
|
||||
needs: build
|
||||
steps:
|
||||
- name: Deploy to Test
|
||||
run: cd /opt/docker && docker compose -f docker-compose.yaml -f my-django/docker-compose.yaml up -d
|
||||
# run: echo "1111111111111111" && exit && echo "aaaaaaaaaaaaaaaa"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user