Files
lms/.gitea/workflows/deploy.yml
marcio.fernandes c69ac54ade
All checks were successful
deploy / deploy (push) Successful in 2m8s
Update .gitea/workflows/deploy.yml
2024-08-04 03:23:10 +00:00

23 lines
507 B
YAML

name: deploy
run-name: ${{ gitea.actor }} invoke portainer webhook
on: [push]
jobs:
deploy:
runs-on: "homesrv01"
steps:
# - name: update
# run: |
# apt update -y && apt upgrade -y
- name: install ansible
run: |
apt update -y
apt install python3-pip -y
python3 -m pip install ansible
python3 -m pip install ansible-lint
- name: Portainer webhook
run: |
curl -X POST "${{secrets.PORTAINER_WEBHOOK_URL}}"