Skip to content

Publish Docs

Publish Docs #11

Workflow file for this run

name: "Publish Docs"
on:
workflow_dispatch:
jobs:
publish-docs:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ secrets.AWS_REGION }}
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
- name: Copy to docs
run: |
aws s3 sync . s3://docs.pyscript.net/