mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 13:44:15 +00:00
Bumps the gh-actions group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-node](https://github.com/actions/setup-node). Updates `actions/checkout` from 5 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) Updates `actions/setup-node` from 5 to 6 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions - dependency-name: actions/setup-node dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
861 B
YAML
40 lines
861 B
YAML
name: CD
|
|
|
|
on:
|
|
push:
|
|
branches: [production]
|
|
tags-ignore: ["**"]
|
|
|
|
jobs:
|
|
release:
|
|
if: ${{ ! startsWith(github.event.head_commit.message, 'chore(release)') }}
|
|
permissions:
|
|
contents: write
|
|
issues: write
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: 3.3
|
|
bundler-cache: true
|
|
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: lts/*
|
|
|
|
- run: npm install
|
|
- run: npx semantic-release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
|
|
|
|
publish:
|
|
needs: release
|
|
uses: ./.github/workflows/publish.yml
|
|
secrets:
|
|
GH_PAT: ${{ secrets.GH_PAT }}
|
|
BUILDER: ${{ secrets.BUILDER }}
|