Skip to content

Commit

Permalink
Remove usage of PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
FISHMANPET committed Jun 29, 2021
1 parent afd0b20 commit 785e489
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 0 additions & 2 deletions PSModules/stages/deploy-module-publish-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ parameters:
type: string
- name: DefaultBranch
type: string
- name: GitHubPAT
type: string

stages:
- stage: Deploy
Expand Down
2 changes: 0 additions & 2 deletions PSModules/stages/deploy-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ parameters:
type: string
- name: DefaultBranch
type: string
- name: GitHubPAT
type: string

stages:
- stage: Deploy
Expand Down
6 changes: 4 additions & 2 deletions PSModules/umn-module-publish-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ parameters:
- name: FailOnTestFailure
type: boolean
default: true
- name: DefaultBranch
type: string
default: master
- name: GitHubPAT
type: string
default: "this will fail"
default: "not needed"

stages:
- template: stages/build-module.yml
Expand All @@ -26,4 +29,3 @@ stages:
ModuleName: ${{ parameters.ModuleName }}
RepoPath: ${{ parameters.RepoPath }}
RepoName: ${{ parameters.RepoName }}
GitHubPAT: ${{ parameters.GitHubPAT }}
3 changes: 1 addition & 2 deletions PSModules/umn-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ parameters:
default: master
- name: GitHubPAT
type: string
default: "this will fail"
default: "not needed"

stages:
- template: stages/build-module.yml
Expand All @@ -30,4 +30,3 @@ stages:
RepoPath: ${{ parameters.RepoPath }}
RepoName: ${{ parameters.RepoName }}
DefaultBranch: ${{ parameters.DefaultBranch }}
GitHubPAT: ${{ parameters.GitHubPAT }}

0 comments on commit 785e489

Please sign in to comment.