Skip to content

Commit

Permalink
Make checkout step optional (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukiffer committed Sep 18, 2023
1 parent be87e27 commit 9153ce4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-to-sharepoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ on:
required: true
type: string
default: './dist/'
freshCheckout:
required: true
type: boolean
default: true
runDefaultBuild:
description: Whether or not to run the build script from the project's package.json file.
required: false
Expand All @@ -37,6 +41,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
if: inputs.runDefaultBuild == true
with:
submodules: recursive
token: ${{ secrets.GIT_TOKEN_BASIC || github.token }}
Expand Down

0 comments on commit 9153ce4

Please sign in to comment.