Update .gitea/workflows/deploy.yml

This commit is contained in:
2024-08-04 03:33:33 +00:00
parent c69ac54ade
commit e2b4f87ded

View File

@@ -10,13 +10,17 @@ jobs:
# run: | # run: |
# apt update -y && apt upgrade -y # apt update -y && apt upgrade -y
- name: install ansible # - name: install ansible
run: | # run: |
apt update -y # apt update -y
apt install python3-pip -y # apt install python3-pip -y
python3 -m pip install ansible # python3 -m pip install ansible
python3 -m pip install ansible-lint # python3 -m pip install ansible-lint
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Portainer webhook - name: Portainer webhook
run: | run: |
curl -X POST "${{secrets.PORTAINER_WEBHOOK_URL}}" curl -X POST "${{secrets.PORTAINER_WEBHOOK_URL}}"