diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 5b85df0..04cd76c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -15,7 +15,7 @@ jobs: - run: npm run build - name: Publish github pages run: | - git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/linpeilie/mapstruct-plus.git - npx gh-pages -d build -u "github-actions-bot " + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + npm run deploy -u "github-actions-bot " env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}