diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0f4ac5be..c898937a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -48,8 +48,5 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: - deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} - external_repository: learnzig/learnzig.github.io - publish_branch: main # default: gh-pages - publish_dir: ./learn/.vitepress/dist - cname: learnzig.nvimer.org + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: page diff --git a/.gitignore b/.gitignore index 5003e55c..4a31f34e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ node_modules -learn/.vitepress/cache -learn/.vitepress/dist .vscode +course/.vitepress/cache/deps diff --git a/course/.vitepress/theme/giscus.ts b/course/.vitepress/theme/giscus.ts index b86ccf37..ff41ea91 100644 --- a/course/.vitepress/theme/giscus.ts +++ b/course/.vitepress/theme/giscus.ts @@ -21,7 +21,7 @@ export default defineComponent({ }, }, h(Giscus, { - repo: "learnzig/learnzig", + repo: "zigcc/zig-course", repoId: "R_kgDOKRsb5Q", category: "Comments", categoryId: "DIC_kwDOKRsb5c4Cbx2i",