From db474703e25a6f5bc85f7813c14ef1521400c530 Mon Sep 17 00:00:00 2001 From: pm Date: Fri, 8 May 2026 16:10:17 +0000 Subject: [PATCH] Modificar .gitea/workflows/deploy.yaml atualizar deploy 4x --- .gitea/workflows/deploy.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 5a0af0f..746a765 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -67,12 +67,12 @@ jobs: # O parâmetro "-I" garante que a pipeline NÃO falha devido a avisos (warnings). - name: OWASP ZAP Baseline Scan run: | - mkdir -p qatests - chmod 777 qatests + mkdir -p ${{ github.workspace }}/qatests + chmod 777 ${{ github.workspace }}/qatests docker run --user root \ --link website-test-sandbox:website-test-sandbox \ - -v $(pwd)/qatests:/zap/wrk/:rw \ + -v ${{ github.workspace }}/qatests:/zap/wrk/:rw \ -t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py \ -t http://website-test-sandbox \ -r report.html \ @@ -114,7 +114,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: owasp-zap-report - path: qatests/report.html + path: ${{ github.workspace }}/qatests/report.html - name: Slack/Discord Notification if: always()