Skip to content

Federalist preview links

Sara Cope edited this page Mar 12, 2020 · 4 revisions

Each Pull Request (PR) to the Digital.gov repository will kickoff an internal process to post the Federalist preview link as a comment on the PR. This is handled by a GitHub Action bot defined in .github/workflow/pr-preview-link.yml.

The bot will first run after the PR is submitted and will run again each time a new commit is added to the PR. It is not dependent on the other checks that run, like CircleCI or the Federalist build, so it will post the preview link as soon as the bot is done running even if the Federalist build hasn't fully completed.

It's important to wait for the Federalist build to finish before using the Preview link so you will be viewing the latest changes to the site. You will know the Federalist build is finished when the federalist/build changes from Pending to having a green checkmark and reports "This build is complete!."

When you click on the Federalist preview link it will load the site home page. This is an automatically generated link using the Digital.gov preview url + branch name. It will only load the home page, not the pages that you might have changed so you'll need to navigate to those in the preview site.

Clone this wiki locally