diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e5f7fe0..49da177 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,16 +6,8 @@ on: jobs: build: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - - name: Debug directory - run: | - echo "Current directory:" - pwd - echo "Node PATH:" - which node - echo "Node Version:" - node -v - name: Checkout Code uses: http://gitea.xkkxyy.com/actions/checkout@main - name: Docker Build and Push @@ -24,15 +16,8 @@ jobs: continue-on-error: true deploy: - runs-on: self-hosted + runs-on: ubuntu-latest needs: build steps: - - name: Debug directory - run: | - echo "Current directory:" - pwd - lscpu - echo "Listing /opt/docker:" - ls -l /opt - 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