Remove cdn usage #4
Workflow file for this run
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
name: Deployments | |
on: | |
pull_request: | |
types: [opened, reopened] | |
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: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
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 | |
- [expressive-code-twoslash Docs](https://${context.payload.pull_request.number}-twoslash.matthiesen.dev) | |
` | |
}) |