forked from corporate-org/product-fe
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from damien-duignan/deploy
Update Styles
- Loading branch information
Showing
9 changed files
with
70 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Walhall CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- deploy | ||
|
||
jobs: | ||
push-to-humanitec-dev: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Build and Push to Humanitec Dev | ||
uses: humanitec/build-push-to-humanitec@v1 | ||
with: | ||
humanitec-token: ${{ secrets.HUMANITEC_TOKEN_DEV }} | ||
organization: damien85 | ||
humanitec-registry: dev-registry.humanitec.io | ||
humanitec-api: dev-api.humanitec.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
/* eslint-disable no-template-curly-in-string */ | ||
import React from 'react'; | ||
|
||
export function ErrorMessage(props) { | ||
return ( | ||
<div className={props.message ? "error-message" : "hidden-error-message"}> | ||
{props.message} | ||
This <span className="bold">sample-app</span> is intended to be used with <span className="bold">sample-service</span>. To add tasks to your task list: | ||
<ul> | ||
<li>Add a sample-service module to your app on Humanitec.</li> | ||
|
||
<li>In your sample-service configuration, add a <span className="bold">database</span>.</li> | ||
|
||
<li>In <span className="bold">Variables</span>, define an environment variable for your database connection with a key <span className="highlight">CONNECTION_STRING</span> and value: <span className="highlight">{'postgresql://${externals.postgres.username}:${externals.postgres.password}@${externals.postgres.host}:${externals.postgres.port}/${externals.postgres.name}'}</span></li> | ||
|
||
<li>Deploy your changes and reload this page</li> | ||
</ul> | ||
|
||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters