boostorg / boostorg/website-v2

preflight check in deploy-website.sh

Open
#2,752 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
18
Forks
28
Avg merge
2d 14h
Merged PRs (30d)
81

Description

Add a section to the script deploy-website.sh "preflight check".

- The most recent 'develop' branch workflow CI was green.
- No actions workflows are currently in-progress in either the `master` or the `develop` branch.

In other words, don't deploy to production unless it's mostly guaranteed to be successful. And if other jobs are running, wait for them to complete (and without errors) before proceeding.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading deploy-website.sh and identify where deployment begins. Inspect how the repository exposes workflow status for the develop and master branches, then add the preflight section so deployment proceeds only after the latest develop CI is green and no relevant workflows remain in progress. Done means both checks block unsafe deployment and allow a deployment when their conditions are satisfied.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd, devops, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.