Skip to content

Improve GitHub Actions publish workflow#6

Merged
mlp6 merged 1 commit into
mainfrom
improve-gh-actions-workflow
Feb 3, 2026
Merged

Improve GitHub Actions publish workflow#6
mlp6 merged 1 commit into
mainfrom
improve-gh-actions-workflow

Conversation

@mlp6
Copy link
Copy Markdown
Owner

@mlp6 mlp6 commented Feb 3, 2026

Summary

  • Update actions/checkout from v2 to v4 (current version, fixes deprecated Node.js runtime)
  • Remove unnecessary apt packages (libcurl4-openssl-dev, libudunits2-dev, libproj-dev, libgdal-dev, libgeos-dev, libharfbuzz-dev, libfribidi-dev)
  • Separate render-only step for PRs (validate without deploying) from publish step for pushes
  • Add concurrency control to cancel in-progress deploys when a new push arrives
  • Move permissions to top level and remove unused GITHUB_PAT env var

Test plan

  • This PR triggers the pull_request path — confirm Quarto render succeeds without the removed apt packages
  • After merge, verify publish path still deploys correctly to GitHub Pages
  • If build fails, most likely missing package is libcurl4-openssl-dev — add back if needed

🤖 Generated with Claude Code

- Update actions/checkout from v2 to v4
- Remove unnecessary apt packages (spatial/text R libs)
- Separate render (PRs) from publish (push/dispatch)
- Add concurrency control to prevent conflicting deploys
- Move permissions to top level, remove unused GITHUB_PAT env

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mlp6 mlp6 merged commit 9bfd36e into main Feb 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant