Skip to content

CD

CD #32

Workflow file for this run

name: CD
on:
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
deploy_prod:
name: Preparing Production release
if: ${{ github.repository == 'sws2apps/github-gcloud-cli' && github.ref == 'refs/heads/main' }}
environment:
name: Prod.env
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Checkout for release preparation
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
ref: main
persist-credentials: false
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90
with:
semantic_version: 19.0.2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}