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

Deploy private nextflu builds to Netlify #122

Merged
merged 3 commits into from
Sep 14, 2023
Merged

Commits on Sep 8, 2023

  1. Add workflow for private.nextflu.org deployments

    This basic workflow is able to build the empty site and deploy to
    staging-private-nextflu.netlify.app, which is still password protected.
    
    The private.nextflu.org site is still built using the old Auspice
    version in https://github.com/blab/nextflu and deployed to Netlify.
    This requires an older version of Ruby (2.3.7) and dependencies that
    others have had trouble installing on the new M1 macs. Instead of
    depending on my old mac to deploy the private builds, create to a GitHub
    Action workflow  to deploy the site that anyone on the Nextstrain team
    can run.
    
    I've opted for this route instead of trying to update the dependencies
    for the old Auspice because the ultimate goal is to sunset the private
    site. This seemed like less work than fiddling with dependencies.
    joverlee521 committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    88cf087 View commit details
    Browse the repository at this point in the history
  2. deploy-private-nextflu: Download builds with AWS Batch Job ID

    Adds an input for the AWS Batch Job ID to be able to attach to a private
    nextflu build and build the site with the output Auspice JSONs.
    
    Requires the Auspice JSONs to be in `auspice-who` since that is the
    output directory for the private.nextflu.org profile.¹
    
    ¹ https://github.com/nextstrain/seasonal-flu/blob/80f3be31a56abd92908a56343edb7af48fa38274/profiles/private.nextflu.org/export.smk#L17
    joverlee521 committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    0a92d4f View commit details
    Browse the repository at this point in the history
  3. deploy-private-nextflu: Add input to toggle staging/production

    The default will now deploy to the production site at private.nextflu.org.
    
    If the input is true, then will deploy to the staging site at
    staging-private-nextflu.netlify.app
    joverlee521 committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    66b1a05 View commit details
    Browse the repository at this point in the history