feat: adiciona nova funcionalidade (com erro oculto) #7
@@ -54,6 +54,7 @@ jobs:
|
|||||||
# ==========================================
|
# ==========================================
|
||||||
|
|
||||||
- name: 5. Dynamic Security Scan (OWASP ZAP)
|
- name: 5. Dynamic Security Scan (OWASP ZAP)
|
||||||
|
if: github.event_name == 'push'
|
||||||
run: |
|
run: |
|
||||||
echo ">>> Lançando Sandbox Efêmero..."
|
echo ">>> Lançando Sandbox Efêmero..."
|
||||||
docker rm -f apex-sandbox || true
|
docker rm -f apex-sandbox || true
|
||||||
@@ -82,6 +83,7 @@ jobs:
|
|||||||
docker rm -f apex-sandbox || true
|
docker rm -f apex-sandbox || true
|
||||||
|
|
||||||
- name: 6. Production Deployment & Local Reports
|
- name: 6. Production Deployment & Local Reports
|
||||||
|
if: github.event_name == 'push'
|
||||||
run: |
|
run: |
|
||||||
echo ">>> Atualizando Produção..."
|
echo ">>> Atualizando Produção..."
|
||||||
docker rm -f portal-corporativo || true
|
docker rm -f portal-corporativo || true
|
||||||
@@ -100,7 +102,7 @@ jobs:
|
|||||||
docker cp qatests/report.html portal-corporativo:/usr/src/app/frontend/zap-report.html || true
|
docker cp qatests/report.html portal-corporativo:/usr/src/app/frontend/zap-report.html || true
|
||||||
|
|
||||||
- name: 7. Archive ZAP Report (Gitea Artifacts)
|
- name: 7. Archive ZAP Report (Gitea Artifacts)
|
||||||
if: always()
|
if: always() && github.event_name == 'push'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: owasp-zap-report
|
name: owasp-zap-report
|
||||||
|
|||||||
Reference in New Issue
Block a user