Skip to content

docs update

docs update #2

name: DocsTest
on:
push:
branches:
- sms/upgrades
jobs:
update-docs:
name: Update AWS permissions docs
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout docs
uses: actions/checkout@v4
- name: Checkout ccp
uses: actions/checkout@v4
with:
repository: porter-dev/cluster-control-plane
path: ./ccp
- name: Setup Go
uses: actions/setup-go@v4
- name: Generate docs
run: |
mkdir -p docs/snippets
curl https://porter-role.s3.us-east-2.amazonaws.com/permissions-docs.txt > docs/snippets/aws-permissions.mdx
- name: Commit docs
run: |
git add .
git commit -m "Autoupdate docs from CCP"
git push origin main