Skip to content

Commit

Permalink
fix: moving nojekyll to build
Browse files Browse the repository at this point in the history
  • Loading branch information
lhnguyen102 committed Sep 9, 2023
1 parent a26e213 commit 55f8a3a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site

- name: Create .nojekyll file
run: touch ./_site/.nojekyll

- name: Upload production-ready build files
uses: actions/upload-artifact@v2
with:
Expand All @@ -39,9 +45,6 @@ jobs:
name: production-files
path: ./_site

- name: Create .nojekyll file
run: touch ./_site/.nojekyll

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 55f8a3a

Please sign in to comment.