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()