Skip to content

fix: renamed "GITHUB_TOKEN" to "GH_TOKEN" #5

fix: renamed "GITHUB_TOKEN" to "GH_TOKEN"

fix: renamed "GITHUB_TOKEN" to "GH_TOKEN" #5

Workflow file for this run

name: Create Release on GitHub
on:
workflow_dispatch:
push:
branches:
- "main"
jobs:
docker:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_PAT }}
run: npx -p @semantic-release/git semantic-release