Update README #352
This file contains hidden or 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@v4 | |
with: | |
repository: vdesabou/kafka-docker-playground | |
fetch-depth: 0 | |
# submodules: recursive | |
ssh-key: ${{ secrets.GH_SSH_KEY_FILE }} | |
ssh-strict: 'false' | |
- name: Update DOCS | |
run: | | |
sudo gem install bashly | |
cd ./scripts/cli | |
./playground update-docs | |
- name: Update README | |
run: | | |
cd ./scripts/cli | |
./playground update-readme --tags "7.9.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}} | |
AWS_REGION: ${{ secrets.AWS_REGION}} | |
- name: Pushes docs | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.CI_GITHUB_TOKEN }} | |
with: | |
source_file: './docs' | |
destination_repo: 'vdesabou/kafka-docker-playground-docs' | |
user_email: 'vincent.desaboulin@gmail.com' | |
user_name: 'vdesabou' | |
commit_message: 'updating with latest versions' |