-
Notifications
You must be signed in to change notification settings - Fork 24
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 #102 from Jougan-0/revertWorkflow
revert w/singoff
- Loading branch information
Showing
1 changed file
with
1 addition
and
32 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 |
---|---|---|
|
@@ -33,9 +33,6 @@ inputs: | |
assetLocation: | ||
required: false | ||
description: Remote location where the generated asset (screenshot) for the design will be stored. | ||
email: | ||
required: false | ||
description: The email address provided by the user to receive the snapshot. | ||
outputs: | ||
mardownResult: # id of output | ||
description: "The markdown result" | ||
|
@@ -156,32 +153,4 @@ runs: | |
number: ${{ inputs.prNumber }} | ||
id: meshmap-snapshot | ||
message: '[<img src="${{env.RESOURCE_URL}}">](https://meshery.layer5.io/catalog/content/catalog/${{ env.APPLICATION_ID }}) _[Understanding Meshery Relationships](https://docs.layer5.io/meshmap/concepts/relationships/)_' | ||
append: false | ||
- name: Email Snapshot to user | ||
if: ${{ success() && inputs.email && env.RESOURCE_URL != 'false' }} | ||
uses: dawidd6/[email protected] | ||
with: | ||
server_address: smtp.gmail.com | ||
server_port: 465 | ||
username: ${{ secrets.MAIL_USERNAME }} | ||
password: ${{ secrets.MAIL_PASSWORD }} | ||
subject: "Your Meshery Snapshot" | ||
from: '"Layer5" <${{ secrets.MAIL_USERNAME }}>' | ||
to: ${{ inputs.email }} | ||
body: | | ||
<p>Hello,</p> | ||
<p>Your ${{ inputs.application_type }} has been converted to a Meshery Design. Your snapshot has been generated and is now available.</p> | ||
<p><a href="${{ env.RESOURCE_URL }}"><img src="${{ env.RESOURCE_URL }}" width="80%" /></a></p> | ||
<p><b>Next Steps</b></p> | ||
<ul> | ||
<ol><b>Edit your snapshot</b>: Create or sign into your <a href="https://meshery.layer5.io">Layer5 Cloud</a> account to edit your snapshot.</ol> | ||
<ol><b>Share with your team</b>: Use this snapshot to facilitate discussions and planning with your team.</ol> | ||
<ol><b>Add Snapshots to your GitHub Pull Requests</b>: <a href="http://meshery.layer5.io/connect/github/new">Connect Meshery Snapshots with your GitHub repo</a> and see changes pull request-to-pull request. Get snapshots of your infrastructure directly in your PRs.</ol> | ||
</ul> | ||
|
||
<p>Thank you for using Meshery! If you enjoy this tool, share with your friends.</p> | ||
|
||
---<br /> | ||
Meshery by Layer5 - The Collaborative Cloud Native Manager. Learn more at <a href="https://layer5.io/meshery">layer5.io</a>. | ||
append: false |