Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

chore(deps): bump github/codeql-action from 3.24.4 to 3.24.6 #494

chore(deps): bump github/codeql-action from 3.24.4 to 3.24.6

chore(deps): bump github/codeql-action from 3.24.4 to 3.24.6 #494

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
merge_group:
jobs:
continuous-integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: ./
with:
checkout: false
build: false
checks: true
code-ql: false
test: false
coverage: false
publish:
needs: continuous-integration
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment: github-pages
steps:
- uses: actions/checkout@v4.1.1
- uses: ./
with:
build: false
checkout: '{ "token": "${{ secrets.GH_PRIVATE_ACCESS_TOKEN }}" }'
- name: 📖 Generate README
uses: bitflight-devops/github-action-readme-generator@v1.8.0
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: prepare release"
file_pattern: README.md
commit_user_name: ${{ github.actor }}
commit_author: ${{ github.actor }}@users.noreply.github.com
- name: 🔖 Prepare publish
run: |
mkdir -p /tmp/publish
echo "theme: jekyll-theme-cayman" > /tmp/publish/_config.yml
cp README.md /tmp/publish/index.md
- name: 🌐 Publish Github pages
uses: peaceiris/actions-gh-pages@v3.9.3
with:
enable_jekyll: true
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: /tmp/publish
user_name: ${{ github.actor }}
user_email: ${{ github.actor }}@users.noreply.github.com