Skip to content

Update README

Update README #345

Workflow file for this run

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.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: 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'
destination_folder: 'docs'
user_email: '[email protected]'
user_name: 'vdesabou'
commit_message: 'updating with latest versions'