mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2026-08-05 21:37:37 +00:00
55bf992f62
Bumps the gh-actions group with 2 updates in the /.github/workflows directory: [actions/setup-node](https://github.com/actions/setup-node) and [actions/stale](https://github.com/actions/stale). Updates `actions/setup-node` from 6 to 7 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v6...v7) Updates `actions/stale` from 10 to 11 - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v10...v11) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions - dependency-name: actions/stale dependency-version: '11' 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@v7
|
|
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: 3.4
|
|
bundler-cache: true
|
|
|
|
- uses: actions/setup-node@v7
|
|
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 }}
|