File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
Original file line number Diff line number Diff 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 : |
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
You can’t perform that action at this time.
0 commit comments