Update AWS permissions docs #303
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update AWS permissions docs | |
on: | |
schedule: | |
- cron: "0 9 * * *" | |
workflow_dispatch: | |
jobs: | |
update-docs: | |
name: Update AWS permissions docs | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout docs | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PORTERSUPPORT_GITHUB_TOKEN }} | |
- name: Grab 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 | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "docs: update AWS permissions docs" | |
file_pattern: "docs/snippets/aws-permissions.mdx" | |
commit_user_email: [email protected] | |
commit_user_name: portersupport | |
commit_author: portersupport <[email protected]> |