Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Use GitHub Actions to perform deployment #53

Commits on Mar 7, 2024

  1. ci: Use GitHub Actions to perform deployment

    * Run on push events to 'main' as the default branch has been renamed from 'master'.
    * Add running the build job on pull_request events to allow testing builds of the
      website in advance.
    * Scope concurrency to the workflow level, which allows for per branch runs to not conflict.
    * Split the workflow into a build and deploy job. In the build job have the built website
      be uploaded as a run artifact. In the deploy job this artifact is then downloaded
      and and deployed to GitHub Pages.
       - For the deploy job, set the permissions to allow for the default GITHUB_TOKEN to perform
         the deployment.
       - Use the github-pages environment as required by GitHub Actions.
       - Run the deploy job on either:
          * push events to main (a merged PR)
          * workflow_dispatch events that happen on any branch, to allow for hotfixing
    matthewfeickert committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    9d6c2dd View commit details
    Browse the repository at this point in the history