File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1515 name : Deploy to Azure
1616 runs-on : ubuntu-latest
1717 timeout-minutes : 60
18+ env :
19+ BUILD_PATH : ' dist/time-tracker'
20+
1821 steps :
1922 - name : Checkout of master
2023 uses : actions/checkout@master
@@ -37,14 +40,15 @@ jobs:
3740 run : |
3841 npm install
3942 npm run build --prod --if-present
43+ cp scripts/default-static-site.js ${BUILD_PATH}
4044
4145 - name : ' Deploy to Azure Web App'
4246 uses : azure/webapps-deploy@v1
4347 with :
4448 app-name : ' time-tracker-ui'
4549 slot-name : ' production'
4650 publish-profile : ${{ secrets.AzureAppService_PublishProfile_728dc744f9384bf38e8a0446aaaee29d }}
47- package : dist/time-tracker
51+ package : ${BUILD_PATH}
4852
4953 - uses : actions/checkout@v2
5054 - name : Slack Notification
File renamed without changes.
You can’t perform that action at this time.
0 commit comments