Skip to content

numerique-gouv/action-argocd-webhook-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

action-argocd-webhook-notification

action-argocd-webhook-notification is a github action that send a notification to argocd.

Inputs

- name: Notify Argocd
  uses: numerique-gouv/action-argocd-webhook-notification@v1
  id: notify
  with:
    # ex: numerique-gouv/action-argocd-webhook-notification
    deployment_repo_path: "${{ secrets.DEPLOYMENT_REPO_URL }}"
    # value of webhook.github.secret in argocd helm chart
    argocd_webhook_secret: "${{ secrets.ARGOCD_PREPROD_WEBHOOK_SECRET }}"
    argocd_url: https://argocd.example.com

Exemple

name: Argocd notify
run-name: Argocd notify

on:
  push:

jobs:
  argocd-notify:
    runs-on: linux
    steps:
      - uses: numerique-gouv/action-argocd-webhook-notification@main
        id: notify
        with:
          deployment_repo_path: "${{ secrets.DEPLOYMENT_REPO_URL }}"
          argocd_webhook_secret: "${{ secrets.ARGOCD_PREPROD_WEBHOOK_SECRET }}"
          argocd_url: https://argocd.example.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published