chore: switch runner type in test.yaml from self-hosted to ubuntu-latest for build and deploy jobs
All checks were successful
test / build (push) Successful in 6s
test / deploy (push) Successful in 2s

This commit is contained in:
Kai 2025-03-24 19:21:38 +08:00
parent c092044954
commit 4dad99ec39

View File

@ -6,16 +6,8 @@ on:
jobs: jobs:
build: build:
runs-on: self-hosted runs-on: ubuntu-latest
steps: steps:
- name: Debug directory
run: |
echo "Current directory:"
pwd
echo "Node PATH:"
which node
echo "Node Version:"
node -v
- name: Checkout Code - name: Checkout Code
uses: http://gitea.xkkxyy.com/actions/checkout@main uses: http://gitea.xkkxyy.com/actions/checkout@main
- name: Docker Build and Push - name: Docker Build and Push
@ -24,15 +16,8 @@ jobs:
continue-on-error: true continue-on-error: true
deploy: deploy:
runs-on: self-hosted runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- name: Debug directory
run: |
echo "Current directory:"
pwd
lscpu
echo "Listing /opt/docker:"
ls -l /opt
- name: Deploy to Test - name: Deploy to Test
run: cd /opt/docker run: exit && cd /opt/docker && docker compose -f docker-compose.yaml -f my-django/docker-compose.yaml up -d