Skip to content

Commit 85d673c

Browse files
authored
Merge pull request #2 from iotruck/feature/login
Feature/login
2 parents 3284a1f + c85b68e commit 85d673c

34 files changed

+62
-118
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
2+
# More GitHub Actions for Azure: https://github.com/Azure/actions
3+
4+
name: Build and deploy Node.js app to Azure Web App - wwwiotruck
5+
6+
on:
7+
push:
8+
branches:
9+
- master
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Set up Node.js version
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: '12.x'
23+
24+
- name: npm install, build, and test
25+
run: |
26+
npm install
27+
npm run build --if-present
28+
npm run test --if-present
29+
30+
- name: Upload artifact for deployment job
31+
uses: actions/upload-artifact@v2
32+
with:
33+
name: node-app
34+
path: .
35+
36+
deploy:
37+
runs-on: ubuntu-latest
38+
needs: build
39+
environment:
40+
name: 'production'
41+
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
42+
43+
steps:
44+
- name: Download artifact from build job
45+
uses: actions/download-artifact@v2
46+
with:
47+
name: node-app
48+
49+
- name: 'Deploy to Azure Web App'
50+
id: deploy-to-webapp
51+
uses: azure/webapps-deploy@v2
52+
with:
53+
app-name: 'wwwiotruck'
54+
slot-name: 'production'
55+
publish-profile: ${{ secrets.AzureAppService_PublishProfile_39feea65e85c40efa9df51d4200386bb }}
56+
package: .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![iotruck, entenda quem somos e o que fazemos](https://github.com/BandTec/iotruck/blob/develop/readme.png)
1+
![iotruck, entenda quem somos e o que fazemos](https://github.com/iotruck/iotruck-institucional/blob/master/readme.png)
22

33
# iotruck
44
## Atravessando todas as fronteiras juntos
File renamed without changes.
File renamed without changes.
File renamed without changes.

institucional/public/login.html

Lines changed: 0 additions & 112 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)