replace needed return lines #365
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: Jekyll CI | |
'on': | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
schedule: | |
- cron: 30 12 * * * | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Ruby | |
uses: ruby/[email protected] | |
with: | |
ruby-version: '3.2' | |
bundler-cache: true | |
- name: Install Dependencies | |
run: bundler install | |
- name: Get Feed Content | |
run: bundler exec rake | |
- name: Proccess Feed Content | |
run: bundler exec rake build | |
- name: Build Jekyll Site | |
run: bundler exec jekyll build | |
- uses: actions/upload-pages-artifact@v3 | |
deploy: | |
if: github.event_name != 'pull_request' | |
environment: | |
name: github-pages | |
url: '${{ steps.deployment.outputs.page_url }}' | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |