Skip to content

Commit

Permalink
Add comment on PR's
Browse files Browse the repository at this point in the history
  • Loading branch information
milespetrov committed Sep 3, 2024
1 parent 56f2c1a commit c50f367
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 240 deletions.
83 changes: 0 additions & 83 deletions .github/workflows/build-docs.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/demo-pr-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PR Commenter

on:
pull_request:
types: [opened]

jobs:
comment-on-pr:
runs-on: ubuntu-latest
steps:
- name: Comment on the PR
uses: peter-evans/create-or-update-comment@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
body: |
Your demo site is ready! 🚀
Enhanced Testing:
Samples: https://${{github.event.pull_request.user.login}}.github.io/ramp4-pcar4/${{github.head_ref}}/demos/enhanced-samples.html
Catalogue: https://${{github.event.pull_request.user.login}}.github.io/ramp4-pcar4/${{github.head_ref}}/demos/enhanced-all.html
Legacy Testing:
Main: https://${{github.event.pull_request.user.login}}.github.io/ramp4-pcar4/${{github.head_ref}}/
Catalogue: https://${{github.event.pull_request.user.login}}.github.io/ramp4-pcar4/${{github.head_ref}}/demos/index-all.html
Samples: https://${{github.event.pull_request.user.login}}.github.io/ramp4-pcar4/${{github.head_ref}}/demos/index-samples.html
80 changes: 0 additions & 80 deletions .github/workflows/deploy.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/main.yml

This file was deleted.

0 comments on commit c50f367

Please sign in to comment.