Full site build pipeline in GitHub Actions, replacing a-frobot#11
Open
vincentfretin wants to merge 4 commits intoaframevr:masterfrom
Open
Full site build pipeline in GitHub Actions, replacing a-frobot#11vincentfretin wants to merge 4 commits intoaframevr:masterfrom
vincentfretin wants to merge 4 commits intoaframevr:masterfrom
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Apr 12, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configuration required (for repo owner)
Create a fine-grained Personal Access Token (PAT)
aframevr/aframevr.github.iorepositoryrepository_dispatchAdd the PAT as a secret in
aframevr/aframe-siteDEPLOY_PATwith the PAT valueAdd the same PAT as a secret in
aframevr/aframeDEPLOY_PATwith the same PAT valueMerge the companion PRs
aframevr/aframe-site: Add trigger-deploy workflow for site deployment aframe-site#562aframevr/aframe: Add trigger-deploy workflow for docs changes aframe#5812Verify GitHub Pages is configured in
aframevr/aframevr.github.ioYou can skip reading from here.
Current flow (a-frobot on AWS)
aframevr/aframe-siteoraframevr/aframemaster triggers a webhookaframe-site, runsnpm run bumpdocsandnpm run generatebumpdocsclears the npm cache for the latest versioned docs branch (docs-v1.7.0),removes the local multidep copy, reinstalls aframe from master, then runs
installdocsinstalldocsrunsmultidep multidep.jsonto download all versioned docs (0.1.0 to 1.7.0)from their respective
docs-v*branches, then copies them intosrc/docs/generateruns hexo clean + hexo generate to produce the static site inpublic/public/*into the localaframevr.github.ioclone, commits, and pushes to masterdeploy-pages.ymlGitHub Actions workflow inaframevr.github.iowhich runs Pagefind on the static files and deploys to GitHub Pages
New flow (GitHub Actions only, no AWS)
aframevr/aframe-sitemaster oraframevr/aframemaster (docs/ path only)triggers a
trigger-deploy.ymlworkflow in that reporepository_dispatchevent (type:deploy) toaframevr/aframevr.github.iodeploy-pages.ymlworkflow inaframevr.github.ioruns the full build:aframevr/aframe-sitenpm run bumpdocs(fetches fresh docs from aframe master + all versioned branches)npm run generate(hexo build)actions/deploy-pagesThis eliminates the AWS EC2 instance and the a-frobot bot entirely for site deployment.
Changes in this PR
deploy-pages.ymlto include the full build pipeline:repository_dispatchtrigger (type:deploy) andworkflow_dispatchfor manual triggers from the GitHub Actions UIaframevr/aframe-siteinstead of the current reponpm run bumpdocsto fetch fresh docs from all aframe branchesnpm run generateto build the static site with hexoaframe-site/publicdirectoryaframe-site/publicto GitHub Pages