Skip to content

Commit

Permalink
✨ feat: added github ci notify #16
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Jan 20, 2024
1 parent db5d393 commit 6a651a6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/devops/github_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,31 @@ function github_add_ci() {
download_file ".github/workflows/ci.yml" "https://raw.githubusercontent.com/pnguyen215/wsdkit.keys/master/devops/github_workflow/ci.yml"
}
alias githubaddci="github_add_ci"

# github_add_ci_notify function
# Add GitHub Actions workflow for CI with notifications.
#
# Usage:
# github_add_ci_notify
#
# Description:
# The 'github_add_ci_notify' function downloads a GitHub Actions workflow file (ci_notify.yml) with notifications
# and saves it to the specified location.
#
# Options:
# None
#
# Example usage:
# github_add_ci_notify
#
# Instructions:
# 1. Run 'github_add_ci_notify' to download the GitHub Actions workflow file for CI with notifications.
# 2. The workflow file (ci_notify.yml) will be saved to the '.github/workflows/' directory.
#
# Notes:
# - Ensure that 'curl' is installed for proper functionality.
# - The URL points to the specific 'ci_notify.yml' file in the 'wsdkit.keys' repository on GitHub.
function github_add_ci_notify() {
download_file ".github/workflows/ci_notify.yml" "https://raw.githubusercontent.com/pnguyen215/wsdkit.keys/master/devops/github_workflow/ci_notify.yaml"
}
alias githubaddcinotify="github_add_ci_notify"

0 comments on commit 6a651a6

Please sign in to comment.