Skip to content

馃敡 chore: Update CI #6

馃敡 chore: Update CI

馃敡 chore: Update CI #6

Workflow file for this run

name: Release CI
on:
push:
branches:
- test_deploy
permissions:
contents: write
pull-requests: write
jobs:
prepare:
name: Prepare Release
if: github.event.head.ref != 'release' && !startsWith(github.event.commits[0].message, '馃殌 release:')
runs-on: [ self-hosted, Linux ]
steps:
- name: Prepare release branch and PR
uses: localazy/release@v1
with:
action: prepare
app-id: ${{ secrets.AUTH_APP_ID }}
app-key: ${{ secrets.AUTH_APP_KEY }}
release:
name: Release
if: github.event.head.ref == 'release' || startsWith(github.event.commits[0].message, '馃殌 release:')
runs-on: [ self-hosted, Linux ]
steps:
- name: Release new version
uses: localazy/release@v1
with:
action: release
app-id: ${{ secrets.AUTH_APP_ID }}
app-key: ${{ secrets.AUTH_APP_KEY }}
npm-publish: true
npm-access: true
npm-token: ${{ secrets.NPM_AUTH_TOKEN }}