my-django/.github/workflows/test.yaml
Kai e03d33ff83
All checks were successful
test / build (push) Successful in 11s
test / deploy (push) Successful in 3s
chore: comment out deployment command in test.yaml and add echo statement for debugging purposes
2025-03-25 15:11:27 +08:00

26 lines
590 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: Deploy to Test
# run: exit && cd /opt/docker && docker compose -f docker-compose.yaml -f my-django/docker-compose.yaml up -d
run: exit && echo "aaaaaaaaaaaaaaaa"