We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61e6c4 commit 8c7a6fcCopy full SHA for 8c7a6fc
examples/quarto-publish-example-with-uv.yml
@@ -0,0 +1,31 @@
1
+on:
2
+ workflow_dispatch:
3
+ push:
4
+ branches: main
5
+
6
+name: Quarto Publish
7
8
+jobs:
9
+ build-deploy:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ steps:
14
+ - name: Check out repository
15
+ uses: actions/checkout@v4
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v6
18
+ with:
19
+ enable-cache: true
20
+ - name: Install the project
21
+ run: uv sync --locked --all-extras --dev
22
+ - name: Add venv to PATH
23
+ run: echo "$(pwd)/.venv/bin" >> $GITHUB_PATH
24
+ - name: Set up Quarto
25
+ uses: quarto-dev/quarto-actions/setup@v2
26
+ - name: Render and Publish
27
+ uses: quarto-dev/quarto-actions/publish@v2
28
29
+ target: gh-pages
30
+ env:
31
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments