Skip to content

Commit

Permalink
feat: Update toc.yml with push step added
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanveer143s authored Sep 22, 2023
1 parent bde4003 commit b6926ff
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions .github/workflows/toc.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
name: toc
permissions: write-all
name: toc
on:
schedule:
- cron: '45 22 * * *'
push:
branches:
- internal_502
- master
workflow_dispatch:

jobs:
prod:
uses: clouddrove/github-shared-workflows/.github/workflows/toc.yml@internal_502
with:
modules: 'terraform-aws,terraform-azure,terraform-gcp,docker,ansible,tools'
username: 'clouddrove.ci'
email: '[email protected]'
secrets:
github-token: ${{ secrets.GITHUB }}
Toc:
name: 'toc update'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master

- name: 'update toc'
uses: 'clouddrove/github-actions@master'
with:
actions_subcommand: 'toc'
modules: 'terraform-aws,terraform-azure,terraform-gcp,docker,ansible,tools'
username: 'clouddrove.ci'
email: '[email protected]'
github_token: ${{ secrets.GITHUB }}

- name: 'push readme'
uses: 'clouddrove/[email protected]'
continue-on-error: true
with:
actions_subcommand: 'push'
env:
github_token: ${{ secrets.GITHUB }}

0 comments on commit b6926ff

Please sign in to comment.