Skip to content

hellocoop/tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 

Repository files navigation

tools

This repository contains reusable GitHub Actions workflows that can be utilized in various repositories within the hellocoop organization.

Reusable Workflows (./github/workflows/*)

Worflows prefixed with content- are used by the content repos (www.hello.coop, hello.dev, etc)

content-merge.yml

Purpose: This workflow is responsible for checking if a Pull Request (PR) is ready to be merged into the main branch.
How it works: It accomplishes this by fetching all the latest changes in the main branch and running tests on the PR to ensure it meets the necessary criteria for merging.
Usage:

uses: hellocoop/tools/.github/workflows/content-merge.yml@main

content-sync.yml

Purpose: This workflow is responsible for synchronizing the built content with the associated S3 bucket and perform cache invalidation. How it works: This workflow requires a STACK name argument as part of the AWS CloudFormation. The workflow builds the content using the npm run build command in the repository, which creates content in an S3 directory. This content is then copied to its associated S3 bucket, and finally, it invalidates the CloudFront cache.
Usage:

uses: hellocoop/tools/.github/workflows/content-sync.yml@main
with:
  STACK: <stack-name> #type: string, required: true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published