diff --git a/.woodpecker.yml b/.woodpecker.yml index c08f404..2af0a4d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -44,23 +44,24 @@ steps: git commit -m "ci: update status-api tag to $TAG" || echo "No changes" git push origin HEAD - trigger-gitops: - name: Trigger apps-gitops via Git push - image: alpine/git - when: - branch: [ master, develop ] - event: [ push ] - environment: - GIT_USERNAME: - from_secret: GIT_USERNAME - GIT_TOKEN: - from_secret: GIT_TOKEN - commands: - - git config --global user.name "woodpecker-bot" - - git config --global user.email "ci@dvirlabs.com" - - git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/apps-gitops.git" - - cd apps-gitops - - echo "# trigger at $(date) by gitops-status-api" >> .trigger - - git add .trigger - - git commit -m "ci: trigger apps-gitops build (gitops-status-api)" || echo "no changes" - - git push origin HEAD + + # trigger-gitops: + # name: Trigger apps-gitops via Git push + # image: alpine/git + # when: + # branch: [ master, develop ] + # event: [ push ] + # environment: + # GIT_USERNAME: + # from_secret: GIT_USERNAME + # GIT_TOKEN: + # from_secret: GIT_TOKEN + # commands: + # - git config --global user.name "woodpecker-bot" + # - git config --global user.email "ci@dvirlabs.com" + # - git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/apps-gitops.git" + # - cd apps-gitops + # - echo "# trigger at $(date) by gitops-status-api" >> .trigger + # - git add .trigger + # - git commit -m "ci: trigger apps-gitops build (gitops-status-api)" || echo "no changes" + # - git push origin HEAD