Skip to content

Commit

Permalink
chore: fix push branches CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sebtiz13 committed Aug 14, 2023
1 parent b849209 commit ed2df31
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/push_branches.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
release-device-manager:
name: Release process
name: Release package
runs-on: ubuntu-20.04
permissions:
contents: write
Expand All @@ -32,14 +32,14 @@ jobs:

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN_CI }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
SEMANTIC_RELEASE_NPM_PUBLISH: "true"
SEMANTIC_RELEASE_SLACK_WEBHOOK: ${{ secrets.SEMANTIC_RELEASE_SLACK_WEBHOOK }}
run: npx semantic-release

release-types:
name: Release process
name: Release type package
runs-on: ubuntu-20.04
permissions:
contents: write
Expand All @@ -63,20 +63,22 @@ jobs:

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN_CI }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
SEMANTIC_RELEASE_NPM_PUBLISH: "true"
SEMANTIC_RELEASE_SLACK_WEBHOOK: ${{ secrets.SEMANTIC_RELEASE_SLACK_WEBHOOK }}
run: npx semantic-release
run: |
pwd
npx semantic-release
documentation_deploy:
needs: [release]
needs: [release-device-manager, release-types]
name: Documentation - Deploy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
token: ${{ secrets.ACCESS_TOKEN_CI }}

- uses: convictional/trigger-workflow-and-wait@v1.6.3
with:
Expand Down

0 comments on commit ed2df31

Please sign in to comment.