-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update toc.yml with push step added
- Loading branch information
1 parent
bde4003
commit b6926ff
Showing
1 changed file
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |