Skip to content

chore(deps): update terraform aws to v5 (#1357) #207

chore(deps): update terraform aws to v5 (#1357)

chore(deps): update terraform aws to v5 (#1357) #207

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@ea8b747819ff6d82907eb4018229f1a75c174697
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
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@ff2351444d640c68a301b81240f84382e43b0200
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 }}