diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 4d4b1d0c..52e27efb 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -47,9 +47,8 @@ jobs: - name: Create rules.txt file run: | - echo "\\" > ./static/rules.txt - go run ./cmd/main.go rules >> ./static/rules.txt - working-directory: ./docs + echo "\\" > ./docs/static/rules.txt + go run .\cmd\main.go rules >> ./docs/static/rules.txt - name: Setup Node uses: actions/setup-node@v3