diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c898937a..465ae1b4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ on: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: - contents: read + contents: write pages: write id-token: write @@ -50,3 +50,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: page + publish_dir: ./course/.vitepress/dist diff --git a/.gitignore b/.gitignore index 4a31f34e..6ce3f720 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules .vscode course/.vitepress/cache/deps +course/.vitepress/course/.vitepress/dist