-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (31 loc) · 966 Bytes
/
dashboard.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Publish Quarto Dashboard
on: push
permissions:
contents: write
jobs:
dashboard:
runs-on: ubuntu-latest # You can choose a different runner if needed
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Install Environment with Micromamba
uses: mamba-org/setup-micromamba@main
with:
environment-file: environment.yml
cache-environment: true
init-shell: bash
post-cleanup: 'all'
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
# NOTE: If Publishing to GitHub Pages, set the permissions correctly (see top of this yaml)
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}