Skip to content

Commit

Permalink
Deploy with .nojekyll file so the _astro static assets folder is …
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Jul 30, 2023
1 parent 737cc18 commit 0d46b99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
run: pnpm build:site

- name: Deploy site
run: pnpm run deploy:site
# Create a `.nojekyll` file so the `_astro` folder gets deployed
# https://github.blog/2009-12-29-bypassing-jekyll-on-github-pages/
run: touch ./site/dist/.nojekyll && pnpm run deploy:site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions site/scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const publishConfig = {
name: 'github-actions[bot]',
email: 'github-actions[bot]@users.noreply.github.com',
},
dotfiles: true,
};

type PublishCallback = Parameters<typeof publish>[2];
Expand Down

0 comments on commit 0d46b99

Please sign in to comment.