docs: update moving to Coder v2 docs #2879
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: Preview | |
on: | |
pull_request: | |
branches: | |
- main | |
- "release-*" | |
permissions: | |
actions: none | |
checks: none | |
contents: read | |
deployments: none | |
issues: none | |
packages: none | |
pull-requests: write | |
repository-projects: none | |
security-events: none | |
statuses: none | |
jobs: | |
preview: | |
name: Preview | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set outputs | |
id: vars | |
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | |
- name: Comment Credentials | |
uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
header: codercom-preview-docs | |
message: | | |
✨ Coder.com for PR #${{ github.event.number }} deployed! It will be updated on every commit. | |
* _Host_: https://coder.com/docs/coder/${{ steps.vars.outputs.sha_short }} | |
* _Last deploy status_: success | |
* _Commit_: ${{ github.event.pull_request.head.sha }} | |
* _Workflow status_: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} |