Skip to content

Commit 8184c20

Browse files
authored
Update deploy.yml
1 parent 861b23c commit 8184c20

File tree

1 file changed

+22
-39
lines changed

1 file changed

+22
-39
lines changed

.github/workflows/deploy.yml

Lines changed: 22 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,47 @@
11
# .github/workflows/deploy.yml
22

3-
name: Deploy Quarto Website
3+
name: Deploy Quarto Website (Debug)
44

5-
# Run on pushes to the main branch and allow manual runs
65
on:
76
push:
8-
branches: [main] # Or master, depending on your default branch name
7+
branches: [main]
98
workflow_dispatch:
109

11-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1210
permissions:
13-
contents: read # Need read to check out the code
14-
pages: write # Need write to deploy to GitHub Pages
15-
id-token: write # Need for OIDC token authentication for deployment
11+
contents: read
12+
pages: write
13+
id-token: write
1614

17-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
18-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1915
concurrency:
2016
group: "pages"
2117
cancel-in-progress: false
2218

2319
jobs:
24-
build-and-deploy:
25-
runs-on: ubuntu-latest # Use the latest Ubuntu runner
20+
debug-quarto-setup:
21+
runs-on: ubuntu-latest
2622

2723
steps:
2824
- name: Checkout repository
29-
uses: actions/checkout@v4 # Checks out your repository code
25+
uses: actions/checkout@v4
3026

3127
- name: Set up Quarto
32-
uses: quarto-dev/quarto-cli-action@v2
28+
uses: quarto-dev/quarto-cli-action@main # Or back to @v2 if @main didn't work
3329
with:
34-
# Optional: Specify a Quarto version, or leave blank for latest
35-
# version: 1.4.549
3630
version: 1.6.40
3731

38-
# Optional: Add steps here to install R, Python, or other dependencies
39-
# if your Quarto documents require code execution.
40-
# Example for Python:
41-
# - name: Set up Python
42-
# uses: actions/setup-python@v5
43-
# with:
44-
# python-version: '3.11' # Specify your Python version
45-
# - name: Install Python dependencies
46-
# run: pip install -r requirements.txt # If you have a requirements file
47-
48-
- name: Render Quarto Website
49-
run: quarto render # Renders the website, output goes to docs/
32+
# Comment out subsequent steps for now
33+
# - name: Render Quarto Website
34+
# run: quarto render
5035

51-
- name: Setup Pages
52-
id: pages # Used for referencing outputs later
53-
uses: actions/configure-pages@v5 # Configures GitHub Pages options
36+
# - name: Setup Pages
37+
# id: pages
38+
# uses: actions/configure-pages@v5
5439

55-
- name: Upload artifact
56-
uses: actions/upload-pages-artifact@v3 # Uploads the rendered site content
57-
with:
58-
# Upload the entire contents of the output directory
59-
path: ./docs
40+
# - name: Upload artifact
41+
# uses: actions/upload-pages-artifact@v3
42+
# with:
43+
# path: ./docs
6044

61-
- name: Deploy to GitHub Pages
62-
id: deployment
63-
uses: actions/deploy-pages@v4 # Deploys the artifact to GitHub Pages
64-
# This action automatically handles authentication using the GITHUB_TOKEN
45+
# - name: Deploy to GitHub Pages
46+
# id: deployment
47+
# uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)