Merge pull request #59 from PremadeS/rsoc-2025-blogs #190
This file contains hidden or 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: gh-pages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| bundler-cache: true | |
| - name: build site | |
| run: | | |
| bundle exec jekyll build | |
| mv _site/serve_config.yml _site/_config.yml | |
| mv docs _site/ | |
| mv .well-known _site/ | |
| - name: deploy gh-pages | |
| if: github.event_name == 'push' | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./_site | |
| cname: cutter.re | |
| force_orphan: true | |
| exclude_assets: ".bundle,.sass-cache,Gemfile*,.gitignore,.github,README.md" |