c3lf-system-3/.forgejo/workflows/deploy.yml

24 lines
453 B
YAML
Raw Normal View History

2024-11-09 04:28:27 +00:00
on:
push:
branches:
- live
- testing
2024-11-06 21:26:48 +00:00
jobs:
test:
2024-11-09 04:28:27 +00:00
runs-on: docker
container:
image: docker.io/python:latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: pip install -r core/requirements.dev.txt
- run: python manage.py test
deploy:
2024-11-06 21:26:48 +00:00
runs-on: docker
2024-11-07 19:10:13 +00:00
container:
2024-11-07 19:11:35 +00:00
image: docker.io/serversideup/ansible:latest
2024-11-06 21:26:48 +00:00
steps:
2024-11-07 19:11:35 +00:00
- run: ansible --version
2024-11-06 21:26:48 +00:00