Skip to content

Update Setup & Dependencies (#15) #20

Update Setup & Dependencies (#15)

Update Setup & Dependencies (#15) #20

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:

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

View workflow run for this annotation

GitHub Actions / Deployment

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 18, Col: 3): Error calling workflow 'StanfordBDHG/NextJSTemplate/.github/workflows/build-and-test.yml@3329405205985683c71abd92181c0fcd775faa2c'. The nested job 'eslint' is requesting 'contents: read', but is only allowed 'contents: none'.
name: Build and Test
uses: ./.github/workflows/build-and-test.yml
permissions:
checks: write
nextjsgithubpages:
name: Deploy Next.js site to GitHub Pages
needs: buildandtest
uses: StanfordBDHG/.github/.github/workflows/nextjs-github-pages.yml@v2
permissions:
contents: read
pages: write
id-token: write
dockerimage:
name: Docker Build and Push
uses: StanfordBDHG/.github/.github/workflows/docker-build-and-push.yml@v2
with:
imageName: stanfordbdhg/nextjstemplate
permissions:
contents: read
packages: write