Skip to content

Commit

Permalink
🔧 chore: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
honzabubenik committed Jul 17, 2024
1 parent 25da6b9 commit aa12a1d
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release CI
on:
push:
branches:
- main
- test_ci

permissions:
contents: write
Expand All @@ -19,30 +19,32 @@ jobs:
- id: init
uses: localazy/release/init@v2

prepare:
name: Prepare Release PR
needs: ci
if: needs.ci.outputs.action == 'prepare'
runs-on: [ self-hosted, Linux ]
steps:
- uses: localazy/release/prepare@v2
with:
app-id: ${{ secrets.AUTH_APP_ID }}
app-key: ${{ secrets.AUTH_APP_KEY }}
monorepo-bump: |
''
'extensions/common'
'extensions/module'
'extensions/sync-hook'
# prepare:
# name: Prepare Release PR
# needs: ci
# if: needs.ci.outputs.action == 'prepare'
# runs-on: [ self-hosted, Linux ]
# steps:
# - uses: localazy/release/prepare@v2
# with:
# node-version: '18.18'
# app-id: ${{ secrets.AUTH_APP_ID }}
# app-key: ${{ secrets.AUTH_APP_KEY }}
# monorepo-bump: |
# ''
# 'extensions/common'
# 'extensions/module'
# 'extensions/sync-hook'

publish:
name: Publish Release
needs: ci
if: needs.ci.outputs.action == 'publish'
# if: needs.ci.outputs.action == 'publish'
runs-on: [ self-hosted, Linux ]
steps:
- uses: localazy/release/publish@v2
with:
node-version: '18.18'
app-id: ${{ secrets.AUTH_APP_ID }}
app-key: ${{ secrets.AUTH_APP_KEY }}
run-after-install: npm run set-production-config
Expand Down

0 comments on commit aa12a1d

Please sign in to comment.