-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Deploy workflow - Add Deploy workflow - Doc cleanup in CI.yml * Fix workflow name
- Loading branch information
1 parent
448e17f
commit 8f269d6
Showing
2 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Deploy | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the "master" branch | ||
release: | ||
types: [created] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install needed software | ||
run: ./.github/scripts/Install.ps1 | ||
shell: pwsh | ||
- name: Build Crescendo module | ||
run: ./build.ps1 | ||
shell: pwsh | ||
- name: Publish PowerShell Module | ||
run: ./.github/scripts/Deploy.ps1 | ||
shell: pwsh | ||
env: | ||
POWERSHELLGALLERY_APIKEY: ${{ secrets.POWERSHELLGALLERY_APIKEY }} | ||
GITHUB_PRERELEASE: ${{ github.event.release.prerelease }} |