Skip to content

Commit

Permalink
add deploy preview action
Browse files Browse the repository at this point in the history
  • Loading branch information
robbymilo committed Nov 5, 2024
1 parent c3895e2 commit b3a1256
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ jobs:
private-key: ${{ env.PUBLISH_TECHNICAL_DOCUMENTATION_PRIVATE_KEY }}
repositories: website

- name: clone
shell: bash
run: |
cd ..
git clone https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/grafana/website.git
- uses: grafana/website/.github/workflows/deploy-preview.yml@robbymilo/gh-deploy-previews
with:
sha: ${{ github.event.pull_request.head.sha }}
branch: ${{ github.ref_name }}
event_number: ${{ github.event.number }}
repo: website

0 comments on commit b3a1256

Please sign in to comment.