Skip to content
Discussion options

You must be logged in to vote

Not a dumb question, the cause is a one-letter typo. In .github/workflows/deploy.yml:

runs-on: unbuntu-latest

It should be ubuntu-latest. GitHub looks for a runner with the label unbuntu-latest, none exists, so the job waits forever. Your astro-build.yml spells it correctly, which is why that workflow runs fine.

After fixing it:

  1. Cancel the stuck run first (Actions → the pending "Deploy Astro to GitHub Pages" run → Cancel). The workflow uses concurrency: group: pages with cancel-in-progress: false, so a new deploy will queue behind the stuck one.

  2. Uncomment the environment block. actions/deploy-pages needs the job to deploy to the github-pages environment, otherwise the last step fails:

    j…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aido-coder
Comment options

Answer selected by aido-coder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage ARC (Actions Runner Controller) For issues and discussions related to the Actions Runner Controller project Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
2 participants