Skip to content

New blog post

New blog post #348

Workflow file for this run

name: StudioCMS Deployments
on: pull_request_target
permissions:
pull-requests: write
jobs:
deploymentmessage:
name: Send deployment links
runs-on: ubuntu-latest
steps:
- name: Deployment Queued Comment
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Thank you for submitting your Pull Request, the following links will become available for preview shortly:\n\n
- [StudioCMS Landing Page](https://pr${context.payload.pull_request.number}-www.studiocms.xyz/)\n
- [StudioCMS Documentation](https://pr${context.payload.pull_request.number}-docs.studiocms.xyz/)\n
- [StudioCMS Demo (node-playground)](https://pr${context.payload.pull_request.number}-demo.studiocms.xyz/) (Also deployed with package changes)\n
- [StudioCMS Ui Demo (ui-playground)](https://pr${context.payload.pull_request.number}-ui-testing.studiocms.xyz/)`
})