type again #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: webpage-quarto | |
name: Quarto Publish | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- 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 -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: Check out repository | |
uses: actions/checkout@v4 | |
- name: Unzip Quarto on Linux | |
if: runner.os == 'Linux' | |
run: ls /opt && /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' | |
# tinytex: true | |
# - name: Install R | |
# uses: r-lib/actions/setup-r@v2 | |
# - name: Install R Dependencies | |
# uses: r-lib/actions/setup-renv@v2 | |
# - name: Install pandoc | |
# uses: pandoc/actions/setup@{main} | |
# - name: Render and Publish | |
# uses: quarto-dev/quarto-actions/publish@v2 | |
# with: | |
# target: gh-pages |