Skip to content

Commit a82f93b

Browse files
author
Kaspar Lyngsie
committed
chore: fixing bad path for README in user-docs
1 parent e13a08c commit a82f93b

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/sync-cli-help-to-user-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ jobs:
1818
with:
1919
repository: snyk/user-docs
2020
path: user-docs
21+
fetch-depth: 0
2122
ref: main
2223

2324
- name: Checkout cli repository
2425
uses: actions/checkout@v4
2526
with:
2627
repository: snyk/cli
27-
ref: ${{ github.ref_name }}
2828
path: cli
29-
token: ${{ secrets.GITHUB_TOKEN }}
3029
fetch-depth: 0
30+
ref: ${{ github.ref_name }}
3131

3232
- name: Configure git user
3333
run: |

.github/workflows/sync-cli-readme.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,16 @@ jobs:
1818
with:
1919
repository: snyk/user-docs
2020
path: user-docs
21+
fetch-depth: 0
2122
ref: main
2223

2324
- name: Checkout cli repository
2425
uses: actions/checkout@v4
2526
with:
2627
repository: snyk/cli
2728
path: cli
28-
token: ${{ secrets.GITHUB_TOKEN }}
2929
fetch-depth: 0
30+
ref: main
3031

3132
- name: Configure git user
3233
run: |
@@ -49,7 +50,7 @@ jobs:
4950
5051
- name: Retrieve GitBook content and update README
5152
run: |
52-
cp ./docs/snyk-cli/getting-started-with-the-snyk-cli.md ./cli/README.md
53+
cp ./user-docs/docs/snyk-cli/getting-started-with-the-snyk-cli.md ./cli/README.md
5354
5455
# GitBook Markdown files often use relative paths for assets (e.g., images)
5556
# like `../.gitbook/assets/image.png`. When this README.md is viewed directly

0 commit comments

Comments
 (0)