Skip to content

Update Release instructions with chart readme version bump (#1639) #232

Update Release instructions with chart readme version bump (#1639)

Update Release instructions with chart readme version bump (#1639) #232

Workflow file for this run

name: Github Pages
on:
push:
branches:
- master
paths:
- '**.md'
- 'docs/**'
permissions:
contents: read
jobs:
publish:
permissions:
contents: write
runs-on: ubuntu-22.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@6d3c2fe731c8f225990c8018cb71c337c0d9dfcd
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
fetch-depth: 0
- name: Copy new docs to gh-pages
run: |
git checkout gh-pages
git checkout ${GITHUB_REF##*/} ADOPTERS.md
git checkout ${GITHUB_REF##*/} README.md
git checkout ${GITHUB_REF##*/} CONTRIBUTING.md
git checkout ${GITHUB_REF##*/} CHANGELOG.md
git checkout ${GITHUB_REF##*/} docs
- name: Push to gh-pages
uses: EndBug/add-and-commit@ccb0550b1f3eeb929427e6480567d8c0377728ff
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: "Documentation sync from master"
branch: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}