Skip to content

Commit

Permalink
chore: cicd fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanJosipovic committed Feb 15, 2021
1 parent 91168f3 commit f297132
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:

- name: Deploy to Production
if: github.ref == 'refs/heads/master'
id: netlify
uses: netlify/actions/cli@master
with:
args: deploy --prod --json -d src/BlazorApplicationInsights.Sample/bin/Release/netstandard2.1/publish/wwwroot
Expand All @@ -40,6 +41,7 @@ jobs:

- name: Deploy to Staging
if: github.ref == 'refs/heads/beta'
id: netlify2
uses: netlify/actions/cli@master
with:
args: deploy --json -d src/BlazorApplicationInsights.Sample/bin/Release/netstandard2.1/publish/wwwroot
Expand All @@ -50,7 +52,7 @@ jobs:
- name: Set Test Address
if: github.ref == 'refs/heads/beta'
run: |
Set-Content -Path "src/BlazorApplicationInsights.Tests/BrowserTestsAddress.config" -Value "${{ steps.netlify.outputs.NETLIFY_URL }}";
Set-Content -Path "src/BlazorApplicationInsights.Tests/BrowserTestsAddress.config" -Value "${{ steps.netlify2.outputs.NETLIFY_URL }}";
shell: pwsh

- name: Run Tests
Expand Down

0 comments on commit f297132

Please sign in to comment.