Skip to content

Commit b15a018

Browse files
Update notificacion-discord.yml
1 parent 75aaf48 commit b15a018

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/notificacion-discord.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949

5050
- name: Renderizar el Rmd
5151
run: |
52-
Rscript -e "rmarkdown::render('00_data_validation.Rmd')"
52+
Rscript -e "rmarkdown::render('00_data_validation.Rmd', output_file = 'index.html')"
5353
5454
- name: Subir reporte como artefacto
5555
uses: actions/upload-artifact@v4
5656
with:
5757
name: reporte-html
58-
path: 00_data_validation.html
58+
path: index.html
5959
if-no-files-found: error
6060

6161
- name: Notificar a Discord
@@ -64,3 +64,11 @@ jobs:
6464
-X POST \
6565
-d "{\"content\":\"✅ Reporte generado automáticamente el día $(date -u +'%Y-%m-%d %H:%M UTC') para el repo \`${{ github.repository }}\`.\"}" \
6666
${{ secrets.DISCORD_WEBHOOK_URL }}
67+
68+
- name: Publicar en GitHub Pages
69+
uses: peaceiris/actions-gh-pages@v3
70+
with:
71+
github_token: ${{ secrets.GITHUB_TOKEN }}
72+
publish_dir: ./
73+
publish_branch: gh-pages
74+
force_orphan: true

0 commit comments

Comments
 (0)