From 364bfff277a9f78b65e9f4f5a5d68e290812ca26 Mon Sep 17 00:00:00 2001 From: Ted Slesinski Date: Thu, 12 Sep 2024 11:42:01 -0400 Subject: [PATCH] Fix github --- .github/workflows/build.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) 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