Skip to content

Deployment

Deployment #25

Workflow file for this run

#
# This source file is part of the Stanford Biodesign Digital Health Next.js Template open-source project
#
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#
name: Deployment
on:
push:
branches:
- main
workflow_dispatch:
jobs:
buildandtest:
name: Build and Test
uses: ./.github/workflows/build-and-test.yml
permissions:
contents: read
checks: write
nextjsgithubpages:
name: Deploy Next.js site to GitHub Pages
needs: buildandtest
uses: StanfordBDHG/.github/.github/workflows/nextjs-github-pages.yml@codeql
permissions:
contents: read
pages: write
id-token: write
dockerimage:
name: Docker Build and Push
uses: StanfordBDHG/.github/.github/workflows/docker-build-and-push.yml@codeql

Check failure on line 34 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Deployment

Invalid workflow file

The workflow is not valid. In .github/workflows/main.yml (Line: 34, Col: 11): Error from called workflow StanfordBDHG/.github/.github/workflows/docker-build-and-push.yml@codeql (Line: 120, Col: 17): Unexpected symbol: '|'. Located at position 17 within expression: matrix.platform | replace('/', '-')
with:
imageName: stanfordbdhg/nextjstemplate
environment: package
permissions:
contents: read
packages: write