This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
Update social links #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run CI and potentially release | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
bundler-cache: true | |
- name: Generate docs | |
run: | | |
npm install | |
JEKYLL_ENV=production bundle exec jekyll build | |
- name: Upload static site | |
uses: peaceiris/actions-gh-pages@v4 | |
if: github.ref == 'refs/heads/master' | |
with: | |
commit_message: "${{ github.event.head_commit.message }} [skip ci]" | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_site/ |