Skip to content

Commit bf58744

Browse files
committed
fix:path
1 parent f94ee6c commit bf58744

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: Make fetch_docs.sh Executable
23-
run: chmod +x $/src/scripts/fetch_docs.sh
23+
run: chmod +x ${{ github.workspace }}/src/scripts/fetch_docs.sh
2424

2525
- name: Fetch All Docs
26-
run: $/src/scripts/fetch_docs.sh
26+
run: ${{ github.workspace }}/src/scripts/fetch_docs.sh
2727

2828
- name: Debug
2929
run: |
@@ -34,7 +34,7 @@ jobs:
3434
uses: actions/upload-artifact@v4
3535
with:
3636
name: docs-raw
37-
path: $/docs/
37+
path: ${{ github.workspace }}/docs/
3838

3939
commit-docs:
4040
if: github.event_name == 'push' && github.event.pusher.name != 'github-actions[bot]' && (!startsWith(github.event.head_commit.message, 'Merge pull request') || !contains(github.event.head_commit.message, 'release-please--branches--main'))
@@ -58,12 +58,12 @@ jobs:
5858
uses: actions/download-artifact@v4
5959
with:
6060
name: docs-raw
61-
path: $/docs/dev/
61+
path: ${{ github.workspace }}/docs/dev/
6262

6363
- name: Check for Changes
6464
run: |
6565
git status
66-
ls -R $/docs/dev
66+
ls -R ${{ github.workspace }}/docs/dev
6767
6868
- name: Add Changes
6969
run: git add .
@@ -119,7 +119,7 @@ jobs:
119119
uses: actions/download-artifact@v4
120120
with:
121121
name: docs-raw
122-
path: $/build
122+
path: ${{ github.workspace }}/build
123123

124124
- name: Install Dependencies
125125
run: npm install
@@ -131,4 +131,4 @@ jobs:
131131
uses: peaceiris/actions-gh-pages@v3
132132
with:
133133
github_token: ${{ secrets.GITHUB_TOKEN }}
134-
publish_dir: $/build
134+
publish_dir: ${{ github.workspace }}/build

0 commit comments

Comments
 (0)