From e2b4f87ded35477e0f6d4c2e5fb86c1d3a57e649 Mon Sep 17 00:00:00 2001 From: "marcio.fernandes" Date: Sun, 4 Aug 2024 03:33:33 +0000 Subject: [PATCH] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 60bd207..ce9c70d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -10,13 +10,17 @@ jobs: # 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: install ansible + # run: | + # apt update -y + # apt install python3-pip -y + # python3 -m pip install ansible + # 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 run: | curl -X POST "${{secrets.PORTAINER_WEBHOOK_URL}}"