Skip to content

Commit

Permalink
manual update to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleSoraggi committed Mar 6, 2024
1 parent 20e8061 commit 7c999ff
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,30 @@ jobs:
permissions:
contents: write
steps:
- name: Install libcurl on Linux
- name: Install libs on Linux
if: runner.os == 'Linux'
run: sudo apt-get update -y && sudo apt-get install -y libfontconfig-dev libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev

- name: Download Quarto on Linux
if: runner.os == 'Linux'
run: wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.450/quarto-1.3.450-linux-amd64.tar.gz

- name: Unzip Quarto on Linux
if: runner.os == 'Linux'
run: tar -xvf quarto-1.3.450-linux-amd64.tar.gz

- name: Check out repository
uses: actions/checkout@v4

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
quarto-version: '1.3.450'
tinytex: true
- name: Unzip Quarto on Linux
if: runner.os == 'Linux'
run: quarto-1.3.450/bin/quarto publish gh-pages

# - name: Set up Quarto
# uses: quarto-dev/quarto-actions/setup@v2
# with:
# quarto-version: '1.3.450'
# tinytex: true

# - name: Install R
# uses: r-lib/actions/setup-r@v2
Expand All @@ -32,7 +44,7 @@ jobs:
# - name: Install pandoc
# uses: pandoc/actions/setup@{main}

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
# - name: Render and Publish
# uses: quarto-dev/quarto-actions/publish@v2
# with:
# target: gh-pages

0 comments on commit 7c999ff

Please sign in to comment.