Skip to content

Commit a1fb531

Browse files
authored
chore: Add rootly alert action to the page (#36)
* chore: Add rootly alert action to the page Signed-off-by: Roger Barker <[email protected]> * chore: Use <code> tag Signed-off-by: Roger Barker <[email protected]> * chore: fix title for alert action Signed-off-by: Roger Barker <[email protected]> * chore: add links to rootly Signed-off-by: Roger Barker <[email protected]> * chore: Add info to step summary Signed-off-by: Roger Barker <[email protected]> * chore: update markdown in step summary Signed-off-by: Roger Barker <[email protected]> * chore: remove underline from link Signed-off-by: Roger Barker <[email protected]> * chore: update step summary Signed-off-by: Roger Barker <[email protected]> * chore: Update css Signed-off-by: Roger Barker <[email protected]> --------- Signed-off-by: Roger Barker <[email protected]>
1 parent b0966f0 commit a1fb531

File tree

4 files changed

+51
-2
lines changed

4 files changed

+51
-2
lines changed

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,18 @@ jobs:
2424
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2525

2626
- name: Deploy to Firebase Hosting on PR
27+
id: deploy-preview
2728
uses: FirebaseExtended/action-hosting-deploy@0cbcac4740c2bfb00d632f0b863b57713124eb5a # v0.9.0
2829
with:
2930
repoToken: ${{ secrets.GITHUB_TOKEN }}
3031
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PANDAS_WHO_CODE }}
3132
projectId: pandas-who-code
33+
expires: '7d'
34+
35+
- name: Display Preview URL
36+
run: |
37+
echo "## Preview URL" | tee -a "${GITHUB_STEP_SUMMARY}"
38+
echo "" | tee -a "${GITHUB_STEP_SUMMARY}"
39+
echo "Preview URL: ${{ steps.deploy-preview.outputs.details_url }}" | tee -a "${GITHUB_STEP_SUMMARY}"
40+
echo "Expires At: ${{ steps.deploy-preview.outputs.expire_time }}" | tee -a "${GITHUB_STEP_SUMMARY}"
41+
echo "---" | tee -a "${GITHUB_STEP_SUMMARY}"
314 KB
Loading

public/index.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<a href="#version2" class="dropdown-item">version2</a>
3333
<a href="#prmirror" class="dropdown-item">PR Mirror</a>
3434
<a href="#rootly-incident-action" class="dropdown-item">Rootly Incident Action</a>
35+
<a href="#rootly-alert-action" class="dropdown-item">Rootly Alert Action</a>
3536
</div>
3637
</div>
3738
<a href="#support" class="nav-item">Support the Devs</a>
@@ -352,8 +353,31 @@ <h3>
352353
</a>
353354
</em></p>
354355
<p>
355-
A GitHub Action for creating incidents and alerts in Rootly, a platform for incident management and response.
356+
A GitHub Action for creating incidents using Rootly, a platform for incident management and response.
356357
This action integrates seamlessly with your CI/CD workflows to automatically create incidents when issues are detected.
358+
This action fully implements the <a href="https://docs.rootly.com/api-reference/incidents/creates-an-incident" class="rootly-link" target="_blank" rel="noopener noreferrer"><code>creates-an-incident</code></a> api.
359+
</p>
360+
</div>
361+
<div id="rootly-alert-action" class="project-item">
362+
<a href="https://github.com/PandasWhoCode/rootly-alert-action" class="project-logo-link" target="_blank" rel="noopener noreferrer">
363+
<img src="images/rootly-alert-action.png" alt="Rootly Alert Action Logo" class="project-logo">
364+
</a>
365+
<h3>
366+
Rootly Alert Action
367+
<a href="https://github.com/PandasWhoCode/rootly-alert-action" class="project-link" target="_blank" rel="noopener noreferrer">
368+
<i class="fab fa-github"></i>
369+
</a>
370+
</h3>
371+
<p><em>
372+
Github Marketplace
373+
<a href="https://github.com/marketplace/actions/rootly-alert-action" class="project-link" target="_blank" rel="noopener noreferrer">
374+
<i class="fab fa-github"></i>
375+
</a>
376+
</em></p>
377+
<p>
378+
A GitHub Action for creating alerts using Rootly, a platform for incident management and response.
379+
This action integrates seamlessly with your CI/CD workflows to automatically create alerts when issues are detected.
380+
This action fully implements the <a href="https://docs.rootly.com/api-reference/alerts/creates-an-alert" class="rootly-link" target="_blank" rel="noopener noreferrer"><code>creates-an-alert</code></a> api.
357381
</p>
358382
</div>
359383
</div>

public/styles/index.css

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,27 @@ h3 {
9898
font-size: 1.2rem;
9999
}
100100

101-
.project-link:hover {
101+
.project-link:hover{
102102
opacity: 1;
103103
color: #00ffff; /* Matching PandasWhoCode cyan color */
104104
transform: translateY(-2px);
105105
}
106106

107+
.rootly-link {
108+
color: #ffffff;
109+
opacity: 0.7;
110+
transition: all 0.3s ease;
111+
font-size: 1.2rem;
112+
text-decoration: none;
113+
}
114+
115+
.rootly-link:hover {
116+
opacity: 1;
117+
color: #00ffff; /* Matching PandasWhoCode cyan color */
118+
transform: translateY(-2px);
119+
text-decoration: none;
120+
}
121+
107122
p {
108123
font-size: 1.1rem;
109124
line-height: 1.6;

0 commit comments

Comments
 (0)