|
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 |
6 | 6 |
|
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 |
12 | 12 |
|
13 | | - steps: |
14 | | - - name: Checkout repository |
15 | | - uses: actions/checkout@v4 |
| 13 | +# steps: |
| 14 | +# - name: Checkout repository |
| 15 | +# uses: actions/checkout@v4 |
16 | 16 |
|
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 |
20 | 20 |
|
21 | | - - name: Deploy to Heroku |
22 | | - uses: akhileshns/[email protected] |
23 | | - with: |
24 | | - heroku_api_key: ${{ secrets.HEROKU_API_KEY }} |
25 | | - heroku_app_name: "collector-confluence" |
26 | | - |
27 | | - branch: ${{ env.HEROKU_BRANCH }} |
| 21 | +# - name: Deploy to Heroku |
| 22 | +# uses: akhileshns/[email protected] |
| 23 | +# with: |
| 24 | +# heroku_api_key: ${{ secrets.HEROKU_API_KEY }} |
| 25 | +# heroku_app_name: "collector-confluence" |
| 26 | + |
| 27 | +# branch: ${{ env.HEROKU_BRANCH }} |
28 | 28 |
|
0 commit comments