my-django/.github/workflows/test.yaml
Kai b1ed9c687b
Some checks failed
test / build (push) Successful in 6s
test / deploy (push) Failing after 1s
chore: add debug steps to test.yaml for improved troubleshooting
2025-03-24 14:25:06 +08:00

30 lines
607 B
YAML

name: test
on:
push:
branches:
- release
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: http://gitea.xkkxyy.com/actions/checkout@main
- name: Docker Build and Push
run: |
docker build -t my-django:latest .
continue-on-error: true
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Debug directory
run: |
echo "Current directory:"
pwd
echo "Listing /opt/docker:"
ls -l /opt/docker
- name: Deploy to Test
run: cd /opt/docker