|
1 | 1 | # .github/workflows/deploy.yml |
2 | 2 |
|
3 | | -name: Deploy Quarto Website |
| 3 | +name: Deploy Quarto Website (Debug) |
4 | 4 |
|
5 | | -# Run on pushes to the main branch and allow manual runs |
6 | 5 | on: |
7 | 6 | push: |
8 | | - branches: [main] # Or master, depending on your default branch name |
| 7 | + branches: [main] |
9 | 8 | workflow_dispatch: |
10 | 9 |
|
11 | | -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages |
12 | 10 | 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 |
16 | 14 |
|
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. |
19 | 15 | concurrency: |
20 | 16 | group: "pages" |
21 | 17 | cancel-in-progress: false |
22 | 18 |
|
23 | 19 | jobs: |
24 | | - build-and-deploy: |
25 | | - runs-on: ubuntu-latest # Use the latest Ubuntu runner |
| 20 | + debug-quarto-setup: |
| 21 | + runs-on: ubuntu-latest |
26 | 22 |
|
27 | 23 | steps: |
28 | 24 | - name: Checkout repository |
29 | | - uses: actions/checkout@v4 # Checks out your repository code |
| 25 | + uses: actions/checkout@v4 |
30 | 26 |
|
31 | 27 | - 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 |
33 | 29 | with: |
34 | | - # Optional: Specify a Quarto version, or leave blank for latest |
35 | | - # version: 1.4.549 |
36 | 30 | version: 1.6.40 |
37 | 31 |
|
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 |
50 | 35 |
|
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 |
54 | 39 |
|
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 |
60 | 44 |
|
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