File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 3838 path : ./reports
3939 # armazena o relatório html por 30 dias
4040 retention-days : 30
41+
42+ deploy-github-pages :
43+ # esse job "deploy-github-pages" somente é executado se o job anterior "postman-api-rest" for executado com sucesso
44+ needs : postman-api-rest
45+
46+ runs-on : ubuntu-latest
47+
48+ permissions :
49+ contents : read
50+ pages : write
51+ id-token : write
52+
53+ environment :
54+ name : github-pages
55+ url : https://andressakarla.github.io/blacklist-academy12.2-api-robot/postman-api-rest-report-htmlextra-newman.html
56+
57+ steps :
58+ - name : Passo 1 - Configurar pages
59+ uses : actions/configure-pages@v2
60+
61+ - name : Passo 2 - Baixar report html armazenado no job anterior "postman-api-rest"
62+ uses : actions/download-artifact@v4
63+ with :
64+ name : postman-api-rest-report-html-newman
65+ path : ./reports
66+
67+ - name : Passo 3 - Armazenar pages
68+ uses : actions/upload-pages-artifact@v1
69+ with :
70+ path : ./reports
71+
72+ - name : Passo 4 - Deploy/Publicar no Github Pages na "url" configurada em "deploy-github-pages > environment"
73+ id : deployment
74+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments