Skip to content

Commit

Permalink
Add github token to deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie authored Jan 7, 2024
1 parent bc950ab commit 54167ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
uses: actions/checkout@v3
- name: Version Bump
shell: pwsh
env:
GH_TOKEN: ${{ github.token }}
run: |
$ErrorActionPreference = "Stop"
& .\PwshSpectreConsole\Build.ps1
Expand Down Expand Up @@ -54,6 +56,8 @@ jobs:
uses: actions/checkout@v3
- name: Version Bump and Publish
shell: pwsh
env:
GH_TOKEN: ${{ github.token }}
run: |
$ErrorActionPreference = "Stop"
& ./PwshSpectreConsole/Build.ps1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-test-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
unit-test:
name: Unit Test
runs-on: ubuntu-latest
if: github.repository_owner != 'ShaunLawrie' || !(github.ref == 'refs/heads/main' && github.ref == 'refs/heads/prerelease')
steps:
- name: Check out repository code
uses: actions/checkout@v3
Expand Down

0 comments on commit 54167ce

Please sign in to comment.