Skip to content

chore(deps): update all non-major dependencies (#1696) #242

chore(deps): update all non-major dependencies (#1696)

chore(deps): update all non-major dependencies (#1696) #242

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@951b48540b429070694bc8abd82fd6901eb123ca
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
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@b3200cb7c06b8e291e7b9ca6d1b33222ddc371c8
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 }}