Skip to content

ci(deps): update actions/deploy-pages digest to 368f825 #475

ci(deps): update actions/deploy-pages digest to 368f825

ci(deps): update actions/deploy-pages digest to 368f825 #475

# This file is @generated by <https://github.com/liblaf/copier-release>.
# DO NOT EDIT!
name: Release / Publish
on:
pull_request:
branches:
- main
types:
- closed
jobs:
release-draft:
name: Create Release
permissions:
contents: write
if: startsWith(github.head_ref, 'release-please/') && github.event.pull_request.merged
runs-on: ubuntu-latest
environment:
name: release-please
deployment: false
steps:
- id: auth
name: Auth
uses: liblaf/actions/auth@2d37965c7d54a87b668ea9eba3ee0d7a0a6cc8b1 # v3
with:
client-id: ${{ vars.APP_CLIENT_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
token: ${{ steps.auth.outputs.token }}
- id: version
name: Get version
run: |-
tag="$(awk '{ print $NF }' <<< "$TITLE")"
version="${tag#'v'}"
echo "tag=$tag" >> "$GITHUB_OUTPUT"
echo "version=$version" >> "$GITHUB_OUTPUT"
env:
TITLE: ${{ github.event.pull_request.title }}
- name: Create release
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3
with:
body: ${{ github.event.pull_request.body }}
tag_name: ${{ steps.version.outputs.tag }}
target_commitish: ${{ github.event.pull_request.merge_commit_sha }}
token: ${{ steps.auth.outputs.token }}