Skip to content

Commit

Permalink
edit render and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestguevarra committed Nov 18, 2024
1 parent 8d8e362 commit fe1b9b4
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: deploy document
name: Quarto Publish

on:
push:
branches: [main, master]
workflow_dispatch:

jobs:
deploy-document:
build-deploy:
runs-on: ubuntu-latest
container: rocker/tidyverse:4.4.2
env:
Expand Down Expand Up @@ -39,13 +39,8 @@ jobs:
renv::restore()
shell: Rscript {0}

- name: Render document
- name: Render and publish document
run: |
quarto::quarto_render("cyclones.qmd")
shell: Rscript {0}
quarto publish gh-pages cyclones.qmd --no-prompt --no-browser
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs

0 comments on commit fe1b9b4

Please sign in to comment.