ignore Rstudio related files #26
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
name: website | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
website: | |
name: Build pres for Computo | |
if: "contains(github.event.head_commit.message, 'build')" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Checking out repository for Github action | |
uses: actions/checkout@v2 | |
- name: Installing quarto | |
uses: quarto-dev/quarto-actions/install-quarto@v1 | |
- name: Rendering with Quarto | |
shell: bash -l {0} | |
run: | | |
mkdir _build | |
cd latest/ | |
quarto render Computo.qmd | |
mv Computo.html ../_build/index.html | |
- name: Deploying article on github pages | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: _build | |
CLEAN: true |