Bump actions/checkout from 5.0.0 to 5.0.1 #290
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| if: github.ref != 'refs/heads/main' | |
| steps: | |
| - name: Checkout main | |
| uses: actions/[email protected] | |
| - name: Check typos | |
| uses: crate-ci/[email protected] | |
| - name: Build only and check links | |
| uses: shalzz/[email protected] | |
| env: | |
| BUILD_ONLY: true | |
| CHECK_LINKS: true | |
| BUILD_FLAGS: --drafts | |
| GITHUB_TOKEN: ${{ secrets.TOKEN }} | |
| build_and_deploy: | |
| runs-on: ubuntu-latest | |
| if: github.ref == 'refs/heads/main' | |
| steps: | |
| - name: Checkout main | |
| uses: actions/[email protected] | |
| - name: Build and deploy | |
| uses: shalzz/[email protected] | |
| env: | |
| REPOSITORY: zummenix/zummenix.github.io | |
| PAGES_BRANCH: main | |
| GITHUB_TOKEN: ${{ secrets.TOKEN }} |