Bump github/codeql-action from 3.25.6 to 3.25.8 #285
Workflow file for this run
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: GitHub Pages Publish | |
on: | |
pull_request: | |
# By default, the pull_request event type is not triggered when a PR is merged into gatsbyjs | |
push: | |
branches: | |
- gatsbyjs | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: ${{ github.ref != 'refs/heads/gatsbyjs' && 'Build site' || 'Build and publish site' }} | |
uses: enriikke/gatsby-gh-pages-action@6293db9dd9d25701c5220c26a8716ac8322b6588 # v2.2.1 | |
with: | |
access-token: x-access-token:${{ secrets.GITHUB_TOKEN }} | |
# Publish the site only if merging into gatsbyjs branch | |
skip-publish: ${{ github.ref != 'refs/heads/gatsbyjs' }} | |
deploy-branch: master |