Skip to content

Commit

Permalink
Add github pages environment to docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
punitarani committed Jan 8, 2025
1 parent c995373 commit 0a093bc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
name: Deploy Documentation

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: write
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 0a093bc

Please sign in to comment.