Skip to content

Commit

Permalink
Update workflows to publish to different website branch and new targe…
Browse files Browse the repository at this point in the history
…t directory (#2180)

Signed-off-by: Jack Baldry <[email protected]>
  • Loading branch information
jdbaldry authored Aug 1, 2023
1 parent 2f3a1e1 commit 68cd92a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-technical-documentation-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
id: "publish-next"
with:
repository: "grafana/website"
branch: "master"
branch: "publish-to-pyroscope"
host: "github.com"
# PUBLISH_TO_WEBSITE_TOKEN is a fine-grained GitHub Personal Access Token that expires.
# It must be regenerated in the grafanabot GitHub account and requires a Grafana organization
# GitHub administrator to update the organization secret.
# The IT helpdesk can update the organization secret.
github_pat: "grafanabot:${{ secrets.PUBLISH_TO_WEBSITE_TOKEN }}"
source_folder: "docs/sources"
target_folder: "content/docs/phlare/next"
target_folder: "content/docs/pyroscope/next"
4 changes: 2 additions & 2 deletions .github/workflows/publish-technical-documentation-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
id: "publish-release"
with:
repository: "grafana/website"
branch: "master"
branch: "publish-to-pyroscope"
host: "github.com"
# PUBLISH_TO_WEBSITE_TOKEN is a fine-grained GitHub Personal Access Token that expires.
# It must be regenerated in the grafanabot GitHub account and requires a Grafana organization
Expand All @@ -77,4 +77,4 @@ jobs:
github_pat: "grafanabot:${{ secrets.PUBLISH_TO_WEBSITE_TOKEN }}"
source_folder: "docs/sources"
# Append ".x" to target to produce a v<major>.<minor>.x directory.
target_folder: "content/docs/phlare/${{ steps.target.outputs.target }}.x"
target_folder: "content/docs/pyroscope/${{ steps.target.outputs.target }}.x"

0 comments on commit 68cd92a

Please sign in to comment.