Update README #334
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
name: Update README | |
on: | |
workflow_dispatch: | |
jobs: | |
update-readme: | |
name: Update README | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
repository: vdesabou/kafka-docker-playground | |
fetch-depth: 0 | |
# submodules: recursive | |
ssh-key: ${{ secrets.GH_SSH_KEY_FILE }} | |
ssh-strict: 'false' | |
- name: Update README | |
run: | | |
cd ./scripts/cli | |
./playground update-readme --tags "7.1.11 7.2.9 7.3.7 7.4.4 7.5.3 7.6.0" | |
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}} | |
- 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 | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.CI_GITHUB_TOKEN }} | |
with: | |
source_file: './docs/introduction.md' | |
destination_repo: 'vdesabou/kafka-docker-playground-docs' | |
destination_folder: 'docs' | |
user_email: '[email protected]' | |
user_name: 'vdesabou' | |
commit_message: 'updating with latest versions' |