Skip to content

πŸ” Add deploy key to API reference GitHub workflow #2

πŸ” Add deploy key to API reference GitHub workflow

πŸ” Add deploy key to API reference GitHub workflow #2

Workflow file for this run

name: API reference
on:
push:
branches: [main]
paths:
- .github/workflows/api-reference.yml
- documentation/api-reference/current/
workflow_dispatch:
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Deploy
uses: JamesIves/[email protected]
with:
folder: documentation/api-reference/current
ssh-key: ${{ secrets.ADMIN_DEPLOY_KEY }}