Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou committed Dec 20, 2024
1 parent 7f74303 commit 1713d91
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 37 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,12 @@ jobs:
SALESFORCE_CONSUMER_KEY_ACCOUNT2: ${{ secrets.SALESFORCE_CONSUMER_KEY_ACCOUNT2}}
SALESFORCE_CONSUMER_PASSWORD_ACCOUNT2: ${{ secrets.SALESFORCE_CONSUMER_PASSWORD_ACCOUNT2}}

- name: Update DOCS
run: |
sudo gem install bashly
cd ./scripts/cli
./playground update-docs
- name: Update README
run: |
cd ./scripts/cli
Expand All @@ -606,26 +612,13 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
AWS_REGION: ${{ secrets.AWS_REGION}}

- name: Pushes content.md
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.CI_GITHUB_TOKEN }}
with:
source_file: './docs/content.md'
destination_repo: 'vdesabou/kafka-docker-playground-docs'
destination_folder: 'docs'
user_email: '[email protected]'
user_name: 'vdesabou'
commit_message: 'updating with latest versions'

- name: Pushes introduction.md
- name: Pushes docs
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.CI_GITHUB_TOKEN }}
with:
source_file: './docs/introduction.md'
source_file: './docs'
destination_repo: 'vdesabou/kafka-docker-playground-docs'
destination_folder: 'docs'
user_email: '[email protected]'
user_name: 'vdesabou'
commit_message: 'updating with latest versions'
31 changes: 9 additions & 22 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,15 @@ jobs:
cd ./scripts/cli
./playground update-docs
# - name: Update README
# run: |
# cd ./scripts/cli
# ./playground update-readme --tags "7.6.1"
# env:
# GH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID}}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
# AWS_REGION: ${{ secrets.AWS_REGION}}

# - name: Pushes content.md
# uses: dmnemec/copy_file_to_another_repo_action@main
# env:
# API_TOKEN_GITHUB: ${{ secrets.CI_GITHUB_TOKEN }}
# with:
# source_file: './docs/content.md'
# destination_repo: 'vdesabou/kafka-docker-playground-docs'
# destination_folder: 'docs'
# user_email: '[email protected]'
# user_name: 'vdesabou'
# commit_message: 'updating with latest versions'
- name: Update README
run: |
cd ./scripts/cli
./playground update-readme --tags "7.6.1"
env:
GH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
AWS_REGION: ${{ secrets.AWS_REGION}}

- name: Pushes docs
uses: dmnemec/copy_file_to_another_repo_action@main
Expand All @@ -52,7 +40,6 @@ jobs:
with:
source_file: './docs'
destination_repo: 'vdesabou/kafka-docker-playground-docs'
#destination_folder: 'docs'
user_email: '[email protected]'
user_name: 'vdesabou'
commit_message: 'updating with latest versions'

0 comments on commit 1713d91

Please sign in to comment.