Skip to content

Commit

Permalink
re deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
khang3052002 committed Aug 31, 2023
1 parent 5a13e54 commit 5e5b6b1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/master_vdhuy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy JAR app to Azure Web App - vdhuy
name: Build and deploy JAR app to Azure Web App - aws-myleague

on:
push:
Expand All @@ -11,7 +11,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
Expand All @@ -31,12 +31,12 @@ jobs:
path: '${{ github.workspace }}/target/*.jar'

deploy:
runs-on: ubuntu-latest
runs-on: windows-latest
needs: build
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v2
Expand All @@ -47,7 +47,7 @@ jobs:
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
with:
app-name: 'vdhuy'
app-name: 'aws-myleague'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_F5589F932F334C71A3BFB71E1EE83159 }}
package: '*.jar'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_E70112A44B564A4189F71E42AA98D77A }}
package: '*.jar'

0 comments on commit 5e5b6b1

Please sign in to comment.