File tree Expand file tree Collapse file tree 1 file changed +9
-25
lines changed
Expand file tree Collapse file tree 1 file changed +9
-25
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 build-and-deploy :
12- name : Deploy to Azure
1312 runs-on : ubuntu-latest
14- timeout-minutes : 60
15- # env:
16- # BUILD_PATH: './AutomaticClockOuts'
17-
1813 steps :
19- - name : Checkout of master
20- uses : actions/checkout@master
21-
22- - name : Set up Node.js version
23- uses : actions/setup-node@v1
14+ - uses : actions/checkout@master
15+ - uses : actions/setup-node@v1
2416 with :
2517 node-version : ' 10.x'
26-
27- - name : ' run: npm install and build'
28- working-directory : ./AutomaticClockOuts
18+ - name : ' run npm'
2919 run : |
30- npm i -g nvm
31- nvm install 10.16.3
32- npm i -g azure-functions-core-tools@core --unsafe-perm true
3320 npm install
34- func azure functionapp publish time-tracker-azure-functions
35-
36- # - uses: actions/checkout@v2
37- # - name: Slack Notification
38- 39- # env:
40- # SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
41- # SLACK_ICON: https://avatars.slack-edge.com/2020-04-14/1055222096486_7b0bf047c32f9f666b69_48.jpg
42- # SLACK_USERNAME: 'heisenberg-deploy-azure-functions:'
21+ npm run build --if-present
22+ - uses : Azure/functions-action@v1
23+ id : AutomaticClockOuts
24+ with :
25+ app-name : time-tracker-azure-functions
26+ publish-profile : ${{ secrets.SCM_CREDENTIALS }}
You can’t perform that action at this time.
0 commit comments