Skip to content

Commit

Permalink
reverting changes for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Caballero committed Apr 4, 2024
1 parent 380d7fe commit 9eb5202
Showing 1 changed file with 23 additions and 32 deletions.
55 changes: 23 additions & 32 deletions .github/workflows/render-qmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,36 +54,27 @@ jobs:
run: |
Rscript -e '.libPaths()'
#- name: Render quarto
# continue-on-error: true # only for error tracking
#run: |
#quarto render

#- name: Show all files in docs
#run: ls -Ral docs

#- name: Show file contents
#run: |
#cat docs/index.html

#- name: Upload
#uses: actions/upload-pages-artifact@v3
#with:
#path: ./docs

#- name: Deploy to GitHub Pages
#uses: peaceiris/actions-gh-pages@v3
#if: ${{ !env.ACT }}
#with:
#github_token: ${{ secrets.GITHUB_TOKEN }}
#publish_dir: |
#./docs
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
- name: Render quarto
#continue-on-error: true # only for error tracking
run: |
quarto render
- name: Show all files in docs
run: ls -Ral docs

- name: Show file contents
run: |
cat docs/index.html
- name: Upload
uses: actions/upload-pages-artifact@v3
with:
path: ./docs

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ !env.ACT }}
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: |
./docs

0 comments on commit 9eb5202

Please sign in to comment.