Skip to content

Commit

Permalink
fix: get apollo ready to be released in hyperledger
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Javier Ribo Labrador <[email protected]>
  • Loading branch information
elribonazo committed Jul 4, 2024
1 parent d67964a commit 0a596a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ jobs:
REPO: self
BRANCH: gh-pages # The branch name where you want to push the assets
FOLDER: "apollo/build/dokka/html/" # The directory where your assets are generated
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
GITHUB_TOKEN: ${{ secrets.IDENTUS_CI }}
MESSAGE: "feat(docs): ({sha}) {msg}" # The commit message
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ concurrency:

env:
JAVA_VERSION: 17
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
GITHUB_ACTOR: "hyperledger-bot"
GITHUB_ACTOR_EMAIL: "[email protected]"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down Expand Up @@ -91,9 +92,12 @@ jobs:
- uses: crazy-max/ghaction-import-gpg@v5
id: import_gpg
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
git_user_signingkey: true
git_commit_gpgsign: true
gpg-private-key: ${{ secrets.HYP_BOT_GPG_PRIVATE }}
passphrase: ${{ secrets.HYP_BOT_GPG_PASSWORD }}
git-user-signingkey: true
git-commit-gpgsign: true
git_config_global: true
git_tag_gpgsign: true

- name: "Install rust toolchain (Linux)"
if: matrix.os-type == 'linux'
Expand All @@ -108,6 +112,7 @@ jobs:

- name: "Release"
env:
GITHUB_TOKEN: ${{ secrets.IDENTUS_CI }}
GIT_AUTHOR_EMAIL: ${{ steps.import_gpg.outputs.email }}
GIT_COMMITTER_EMAIL: ${{ steps.import_gpg.outputs.email }}
GIT_AUTHOR_NAME: ${{ steps.import_gpg.outputs.name }}
Expand Down

0 comments on commit 0a596a0

Please sign in to comment.