Skip to content

fix(github): fix github enterprise authentication #17

fix(github): fix github enterprise authentication

fix(github): fix github enterprise authentication #17

Workflow file for this run

name: Build docs
on:
push:
paths:
- '**.md'
jobs:
build:
name: Copy file
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Rename file
run: |
mv README.md ${{ github.event.repository.name }}.md
- name: Set subfolder
run: echo "SUB_FOLDER=$(echo "${{ github.event.repository.name }}" | grep -o '[^-]*$')" >> $GITHUB_ENV
- name: Print subfolder
run: echo $SUB_FOLDER
- uses: GuillaumeFalourd/copy-push-files@v1
with:
source_files: ${{ github.event.repository.name }}.md
remote_repository: https://github.com/krateoplatformops/krateo-docs
access_token: ${{ secrets.HELM_CHARTS_BOT }}
target_dir: docs/${{ env.SUB_FOLDER }}s
target_branch: main