Skip to content

Commit

Permalink
Fix github
Browse files Browse the repository at this point in the history
  • Loading branch information
energee committed Sep 12, 2024
1 parent 95722c9 commit 364bfff
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 364bfff

Please sign in to comment.