updated markdown with outline #7
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: Render and deploy quarto files | |
on: | |
push: | |
pull_request: | |
jobs: | |
quarto-render-and-deploy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "Install Conda environment with Micromamba" | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
cache-env: true | |
environment-file: binder/conda-linux-64.lock | |
environment-name: openscapes | |
- name: Set up Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
- name: Publish to GitHub Pages (and render) | |
uses: quarto-dev/quarto-actions/publish@v2 | |
with: | |
target: gh-pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions | |