Skip to content

Commit

Permalink
Merge pull request #102 from Jougan-0/revertWorkflow
Browse files Browse the repository at this point in the history
revert w/singoff
  • Loading branch information
leecalcote authored Aug 29, 2024
2 parents f71cbd4 + 020edd2 commit c6c2c50
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

0 comments on commit c6c2c50

Please sign in to comment.