Skip to content

Deploy to GitHub-Pages via Pipeline or Action? #221

Answered by daveaglick
suchja asked this question in Q&A
Discussion options

You must be logged in to vote

There's definitely not a "better" way and both are totally valid. I personally like to keep everything in CI/CD scenarios contained in a single command line application and have that do the driving, so the use of a deploy phase where Statiq itself uploads to GitHub Pages comes from that personal preference. That said, there are a lot of reasons why leveraging built-in actions/steps/tasks that are native to the CI/CD environment could be preferred - for example, their use might enable some interesting functionality beyond what's available through Statiq, or allow deployment to locations that Statiq doesn't yet support (like Azure Static Web Apps or Cloudflare Pages).

As for the problems wi…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@suchja
Comment options

@suchja
Comment options

@AlexHedley
Comment options

@suchja
Comment options

Answer selected by suchja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants