Skip to content

Commit 00d1cb8

Browse files
authored
Update demo.yaml (#34)
1 parent 0a29395 commit 00d1cb8

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/demo.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: Demo scheduled Run of the Collector
2-
on:
3-
schedule:
4-
- cron: "0 0 * * *" # Runs at 00:00 UTC every day
5-
workflow_dispatch: # Allows manual triggering
1+
# name: Demo scheduled Run of the Collector
2+
# on:
3+
# schedule:
4+
# - cron: "0 0 * * *" # Runs at 00:00 UTC every day
5+
# workflow_dispatch: # Allows manual triggering
66

7-
jobs:
8-
deploy:
9-
if: github.repository == 'devsecopsmaturitymodel/collector-confluence' && github.ref == 'refs/heads/main'
10-
runs-on: ubuntu-latest
11-
environment: heroku
7+
# jobs:
8+
# deploy:
9+
# if: github.repository == 'devsecopsmaturitymodel/collector-confluence' && github.ref == 'refs/heads/main'
10+
# runs-on: ubuntu-latest
11+
# environment: heroku
1212

13-
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v4
13+
# steps:
14+
# - name: Checkout repository
15+
# uses: actions/checkout@v4
1616

17-
- name: Set Heroku branch
18-
run: |
19-
echo "HEROKU_BRANCH=main" >> $GITHUB_ENV
17+
# - name: Set Heroku branch
18+
# run: |
19+
# echo "HEROKU_BRANCH=main" >> $GITHUB_ENV
2020

21-
- name: Deploy to Heroku
22-
uses: akhileshns/heroku-deploy@v3.12.14
23-
with:
24-
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
25-
heroku_app_name: "collector-confluence"
26-
heroku_email: timo.pagel@owasp.org
27-
branch: ${{ env.HEROKU_BRANCH }}
21+
# - name: Deploy to Heroku
22+
# uses: akhileshns/heroku-deploy@v3.12.14
23+
# with:
24+
# heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
25+
# heroku_app_name: "collector-confluence"
26+
# heroku_email: timo.pagel@owasp.org
27+
# branch: ${{ env.HEROKU_BRANCH }}
2828

0 commit comments

Comments
 (0)