Skip to content

Commit 0d30aff

Browse files
Bhupesh-mfsiBhupesh-MS
authored andcommitted
544 signin page (#551)
* stashed files added * signin page ui * renamed file * fixed linting issues --------- Co-authored-by: Bhupesh-MS <[email protected]>
1 parent 30717fa commit 0d30aff

File tree

20 files changed

+1968
-49
lines changed

20 files changed

+1968
-49
lines changed

.github/workflows/on-push.yml

+44-46
Original file line numberDiff line numberDiff line change
@@ -166,56 +166,54 @@ jobs:
166166
workspace-name: 'dm3-offchain-resolver'
167167
package-pat: ${{ secrets.PACKAGE_PAT }}
168168
messenger-demo-deploy:
169-
runs-on: ubuntu-latest
170-
if: github.ref == 'refs/heads/new-ui'
171-
needs:
172-
[
173-
offchain-resolver-test,
174-
lib-storage-test,
175-
lib-shared-test,
176-
lib-profile-test,
177-
lib-messaging-test,
178-
lib-delivery-test,
179-
lib-crypto-test,
180-
integration-test,
181-
backend-test,
182-
code-quality
183-
]
184-
steps:
185-
# Check-out your repository.
186-
- name: Checkout
187-
uses: actions/checkout@v2
169+
runs-on: ubuntu-latest
170+
if: github.ref == 'refs/heads/new-ui'
171+
needs:
172+
[
173+
offchain-resolver-test,
174+
lib-storage-test,
175+
lib-shared-test,
176+
lib-profile-test,
177+
lib-messaging-test,
178+
lib-delivery-test,
179+
lib-crypto-test,
180+
integration-test,
181+
backend-test,
182+
code-quality,
183+
]
184+
steps:
185+
# Check-out your repository.
186+
- name: Checkout
187+
uses: actions/checkout@v2
188188

189+
- name: Build, Push and Release a Docker container to Heroku. # Your custom step name
190+
uses: gonuit/[email protected] # GitHub action name (leave it as it is).
191+
with:
192+
# Below you must provide variables for your Heroku app.
189193

190-
- name: Build, Push and Release a Docker container to Heroku. # Your custom step name
191-
uses: gonuit/[email protected] # GitHub action name (leave it as it is).
192-
with:
193-
# Below you must provide variables for your Heroku app.
194+
# The email address associated with your Heroku account.
195+
# If you don't want to use repository secrets (which is recommended) you can do:
196+
197+
email: ${{ secrets.HEROKU_EMAIL }}
194198

195-
# The email address associated with your Heroku account.
196-
# If you don't want to use repository secrets (which is recommended) you can do:
197-
198-
email: ${{ secrets.HEROKU_EMAIL }}
199-
200-
# Heroku API key associated with provided user's email.
201-
# Api Key is available under your Heroku account settings.
202-
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
203-
204-
# Name of the heroku application to which the build is to be sent.
205-
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
199+
# Heroku API key associated with provided user's email.
200+
# Api Key is available under your Heroku account settings.
201+
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
206202

207-
# (Optional, default: "./")
208-
# Dockerfile directory.
209-
# For example, if you have a Dockerfile in the root of your project, leave it as follows:
210-
dockerfile_directory: ./
203+
# Name of the heroku application to which the build is to be sent.
204+
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
211205

212-
# (Optional, default: "Dockerfile")
213-
# Dockerfile name.
214-
dockerfile_name: ./packages/messenger-demo/Dockerfile
206+
# (Optional, default: "./")
207+
# Dockerfile directory.
208+
# For example, if you have a Dockerfile in the root of your project, leave it as follows:
209+
dockerfile_directory: ./
215210

211+
# (Optional, default: "Dockerfile")
212+
# Dockerfile name.
213+
dockerfile_name: ./packages/messenger-demo/Dockerfile
216214

217-
# (Optional, default: "web")
218-
# Select the process type for which you want the docker container to be uploaded.
219-
# By default, this argument is set to "web".
220-
# For more information look at https://devcenter.heroku.com/articles/process-model
221-
process_type: web
215+
# (Optional, default: "web")
216+
# Select the process type for which you want the docker container to be uploaded.
217+
# By default, this argument is set to "web".
218+
# For more information look at https://devcenter.heroku.com/articles/process-model
219+
process_type: web

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"editor.formatOnSave": true
1010
},
1111
"[typescriptreact]": {
12-
"editor.defaultFormatter": "esbenp.prettier-vscode",
12+
"editor.defaultFormatter": "vscode.typescript-language-features",
1313
"editor.formatOnSave": true
1414
}
1515
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export function withAuthHeader(token: string) {
2+
return {
3+
headers: {
4+
Authorization: `Bearer ${token}`,
5+
},
6+
};
7+
}

0 commit comments

Comments
 (0)