| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository holds GitHub Actions workflows which can be reused throughout the organization.
In principle, all workflows which are implemented at this repo can be used to simplify the creation of custom CI/CD workflows at other repositories. A couple of workflow files have been specified to wrap common DevOps tasks. These workflows should be used to set up DevOps pipeplines whith minimal effort:
| Workflow | Description |
|---|---|
| release-pr.yml | Automatically creates release-PRs with version bumps and changelog from conventional commit messages |
| release-build-push.yml | Creates a new release and builds and pushes a Docker Image after merging a release-PR |
| deploy-branch.yml | Force-pushes a release from a git ref (e.g. a given tag or branch) to a dedicated deploy branch (e.g. staging) which can be tracked for automatic deployment with third-party app platforms |
| deploy-docker.yml | Deploys a release from a git ref to a remote host using Docker Compose and SSH |
Check examples for further details how to configure complete DevOps workflows
Workflows from this repository can be called in workflow files with the uses keyword:
on:
# (...)
jobs:
job_name:
uses: MeKo-Tech/workflows/.github/workflows/<workflow-file>.yml@<git-ref>
with:
# (workflow inputs)
secrets:
# (workflow secrets)<git-ref> specifies the ref from this repository which is used. This can be a branch name (e.g. main), a tag (e.g. 1.0.0) or a commit hash. Any ref other than a commit hash might be floating and should be used with caution. (E.g. changes might be pushed to branch main of this repository at any time).
Example workflow file:
name: deploy
on:
push:
tags:
- 'STAGING'
- 'PRODUCTION'
jobs:
validate-tag:
runs-on: ubuntu-latest
steps:
# (...)
create-deploy-branch-production:
if: ${{ github.event.ref == 'refs/tags/PRODUCTION' }}
permissions:
contents: write
needs:
- validate-tag
uses: MeKo-Tech/workflows/.github/workflows/force-push-deploy-branch.yml@main
with:
source_ref: ${{ github.event.ref }}
target_branch: deployed_staging Check the official Documenation for further details.
| Back | FazBrowse Home | New Git URL |