Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Commit

Permalink
fix publidh
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Jan 24, 2020
1 parent 87a5cfa commit d9ca28c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: archive Release
run: 7za a ./release.zip './publish/*'
- uses: ncipollo/release-action@v1
if: github.ref == 'master'
if: github.ref == 'refs/heads/master'
with:
artifacts: release.zip
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,25 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: debug
run: |
echo <<< GITHUB_JSONDATA
${{toJSON(github)}}'
GITHUB_JSONDATA
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: make
run: dotnet publish ./EhTagApi --configuration Release -o $GITHUB_WORKSPACE/publish
- name: debug
run: echo ${{toJSON(github)}}
- name: Upload artifact
uses: actions/[email protected]
with:
name: website
path: ./publish
- name: 'Run Azure webapp deploy action using publish profile credentials'
uses: azure/webapps-deploy@v1
if: github.ref == 'master'
if: github.ref == 'refs/heads/master'
with:
app-name: EhTagConnector
publish-profile: ${{ secrets.AzureWebAppPublishProfile }}
Expand Down

0 comments on commit d9ca28c

Please sign in to comment.