From addeb93b77370bc0ee801c48bd090cac0042b6be Mon Sep 17 00:00:00 2001 From: Timo Pagel Date: Sat, 11 Jan 2025 07:57:53 +0100 Subject: [PATCH] Update demo.yaml --- .github/workflows/demo.yaml | 46 ++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/demo.yaml b/.github/workflows/demo.yaml index 7de8620..70f1bc2 100644 --- a/.github/workflows/demo.yaml +++ b/.github/workflows/demo.yaml @@ -1,28 +1,28 @@ -name: Demo scheduled Run of the Collector -on: - schedule: - - cron: "0 0 * * *" # Runs at 00:00 UTC every day - workflow_dispatch: # Allows manual triggering +# name: Demo scheduled Run of the Collector +# on: +# schedule: +# - cron: "0 0 * * *" # Runs at 00:00 UTC every day +# workflow_dispatch: # Allows manual triggering -jobs: - deploy: - if: github.repository == 'devsecopsmaturitymodel/collector-confluence' && github.ref == 'refs/heads/main' - runs-on: ubuntu-latest - environment: heroku +# jobs: +# deploy: +# if: github.repository == 'devsecopsmaturitymodel/collector-confluence' && github.ref == 'refs/heads/main' +# runs-on: ubuntu-latest +# environment: heroku - steps: - - name: Checkout repository - uses: actions/checkout@v4 +# steps: +# - name: Checkout repository +# uses: actions/checkout@v4 - - name: Set Heroku branch - run: | - echo "HEROKU_BRANCH=main" >> $GITHUB_ENV +# - name: Set Heroku branch +# run: | +# echo "HEROKU_BRANCH=main" >> $GITHUB_ENV - - name: Deploy to Heroku - uses: akhileshns/heroku-deploy@v3.12.14 - with: - heroku_api_key: ${{ secrets.HEROKU_API_KEY }} - heroku_app_name: "collector-confluence" - heroku_email: timo.pagel@owasp.org - branch: ${{ env.HEROKU_BRANCH }} +# - name: Deploy to Heroku +# uses: akhileshns/heroku-deploy@v3.12.14 +# with: +# heroku_api_key: ${{ secrets.HEROKU_API_KEY }} +# heroku_app_name: "collector-confluence" +# heroku_email: timo.pagel@owasp.org +# branch: ${{ env.HEROKU_BRANCH }}