Fix Workflow Concurrency (#92) #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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' }} |