diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ad0d27..4d2465a 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,16 +23,19 @@ jobs: - name: Create timestamp file run: echo "{\"timestamp\":\"$(date +%s)\"}" > timestamp.json - # Increase Git buffer size - - name: Increase Git buffer size - run: git config --global http.postBuffer 524288000 # 500 MB + # Build your Jekyll site (if needed) + - name: Build Jekyll site + run: | + bundle install + bundle exec jekyll build - # Use GitHub Deploy Action to build and deploy to Github - - uses: jeffreytse/jekyll-deploy-action@v0.5.0 + # Deploy to GitHub Pages + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 with: - provider: 'github' - token: ${{ secrets.GITHUB_TOKEN }} - cname: ${{ secrets.CNAME }} + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./_site # Adjust this if your output directory is different + cname: ${{ secrets.CNAME }} # Optional: if you have a custom domain # Add timestamp.json to build artifact - name: Add timestamp to build artifact