Skip to content

Commit

Permalink
Working on CI/CD process
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljolley committed Feb 5, 2024
1 parent f8d7383 commit 5b2d40d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# needs: test
runs-on: ubuntu-latest
env:
PS_GALLERY_API_KEY: ${{ secrets.PS_GALLERY_API_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -38,8 +40,6 @@ jobs:
./_build/build.ps1
- name: Deploy to PowerShell Gallery
env:
PS_GALLERY_API_KEY: ${{ secrets.PS_GALLERY_API_KEY }}
shell: pwsh
run: |
Publish-Module -Path ./dist -NuGetApiKey $env:PS_GALLERY_API_KEY
Publish-Module -Path "$(env:GITHUB_WORKSPACE)/dist" -NuGetApiKey $env:PS_GALLERY_API_KEY

0 comments on commit 5b2d40d

Please sign in to comment.