Skip to content

Commit

Permalink
agaiiin
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleSoraggi committed Mar 6, 2024
1 parent 8865eeb commit a7a4d82
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ jobs:
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 -P /opt/
#- 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 -P /opt/

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

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

- name: Unzip Quarto on Linux
if: runner.os == 'Linux'
run: /opt/quarto-1.3.450/bin/quarto install tinytex && /opt/quarto-1.3.450/bin/quarto publish gh-pages
# - name: Unzip Quarto on Linux
# if: runner.os == 'Linux'
# run: /opt/quarto-1.3.450/bin/quarto install tinytex && /opt/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'
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
quarto-version: '1.3.450'
# tinytex: true

# - name: Install R
Expand All @@ -44,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 a7a4d82

Please sign in to comment.