Skip to content

Fix Workflow Concurrency #125

Fix Workflow Concurrency

Fix Workflow Concurrency #125

#
# This source file is part of the Stanford Spezi Template Application open-source project
#
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#
name: Documentation Deployment
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: Documentation-Deployment-${{ github.ref }}
cancel-in-progress: true
jobs:
docs:
name: Documentation Deployment
uses: StanfordBDHG/.github/.github/workflows/docc-github-pages.yml@v2
permissions:
contents: read
pages: write
id-token: write
with:
scheme: 'TemplateApplication'
dryrun: ${{ github.ref != 'main' }}