From 55f8a3a778edf63ba91dc9b93818584ecc5aa640 Mon Sep 17 00:00:00 2001 From: Luong-Ha Nguyen Date: Sat, 9 Sep 2023 11:43:07 -0400 Subject: [PATCH] fix: moving nojekyll to build --- .github/workflows/deploy.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index db74046..9acc531 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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: @@ -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: