my-django/.github/workflows/test.yaml
Kai d37219bb6c
Some checks failed
test / build (push) Successful in 4s
test / deploy (push) Failing after 1s
fix: update test.yaml to change deployment command for clarity
2025-03-24 14:17:23 +08:00

24 lines
446 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: cd /opt/docker