docs: Migrate link formats (#2777)
* Adding docs-content-check-legacy-links-format workflow * Adding test-link-rewrites workflow * Migrating links to new format
This commit is contained in:
1 parent
87b09d5e27
commit
e6be6431b2
87 files changed
+485
-452
No files matched your search
@@ -0,0 +1,17 @@
|
||||
name: Legacy Link Format Checker
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "website/content/**/*.mdx"
|
||||
- "website/data/*-nav-data.json"
|
||||
|
||||
jobs:
|
||||
check-links:
|
||||
uses: hashicorp/dev-portal/.github/workflows/docs-content-check-legacy-links-format.yml@d7c2fceac2dc41e3f857f1ce7c344141fd6a13dd
|
||||
with:
|
||||
repo-owner: "hashicorp"
|
||||
repo-name: "boundary"
|
||||
commit-sha: ${{ github.sha }}
|
||||
mdx-directory: "website/content"
|
||||
nav-data-directory: "website/data"
|
||||
@@ -0,0 +1,16 @@
|
||||
name: Test Link Rewrites
|
||||
|
||||
on: [deployment_status]
|
||||
|
||||
jobs:
|
||||
test-link-rewrites:
|
||||
if: github.event.deployment_status.state == 'success'
|
||||
uses: hashicorp/dev-portal/.github/workflows/docs-content-link-rewrites-e2e.yml@2aceb60125f6c15f4c8dbe2e4d79148047bfa437
|
||||
with:
|
||||
repo-owner: "hashicorp"
|
||||
repo-name: "boundary"
|
||||
commit-sha: ${{ github.sha }}
|
||||
main-branch-preview-url: "https://boundary-git-main-hashicorp.vercel.app/"
|
||||
# Workflow is only intended to run for one single migration PR
|
||||
# This variable does not need to be updated
|
||||
pr-branch-preview-url: "https://boundary-git-docs-ambmigrate-link-formats-hashicorp.vercel.app/"
|
||||
Reference in new issue
Block a user