Skip to content

Commit

Permalink
ci(release): added ssh-key to sync-dev job
Browse files Browse the repository at this point in the history
  • Loading branch information
LexBorisoff committed Dec 20, 2024
1 parent bdec3ed commit b15feeb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

jobs:
ci:
name: CI
runs-on: ubuntu-latest

strategy:
Expand All @@ -29,9 +30,10 @@ jobs:
- run: npm run ci

results:
if: always()
runs-on: ubuntu-latest
name: CI Results
runs-on: ubuntu-latest
if: always()

needs: ci
steps:
- run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ permissions:

jobs:
release:
name: Release
runs-on: ubuntu-latest

permissions:
Expand All @@ -37,6 +38,7 @@ jobs:
run: npx semantic-release

sync-dev:
name: Sync dev
runs-on: ubuntu-latest

permissions:
Expand All @@ -48,6 +50,7 @@ jobs:
with:
ref: dev
fetch-depth: 0
ssh-key: ${{ secrets.DEPLOY_KEY }}

- name: Merge main into dev
env:
Expand Down

0 comments on commit b15feeb

Please sign in to comment.