Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy Docs

on:
push:
branches: [main]
branches: [main, development]

permissions:
contents: read
Expand Down Expand Up @@ -52,13 +52,21 @@ jobs:
path: apps/docs/.vitepress/dist

deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
# If on development branch, deploy as preview
preview: ${{ github.ref == 'refs/heads/development' }}

- name: Show deployed URL
run: |
echo "Deployed URL: ${{ steps.deployment.outputs.page_url }}"