Browse Source

Set global git commit username

master
Rory Powell 5 years ago
parent
commit
a5f5c846b2
  1. 18
      .github/workflows/release-develop.yml

18
.github/workflows/release-develop.yml

@ -60,15 +60,15 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-1
# - name: Publish budibase packages to NPM
# env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: |
# # setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
# git config user.name "Budibase Staging Release Bot"
# git config user.email "<>"
# echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
# yarn release:develop
- name: Publish budibase packages to NPM
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
# setup the username and email.
git config --global user.name "Budibase Staging Release Bot"
git config --global user.email "<>"
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
# yarn release:develop
- name: Get the latest budibase release version
id: version

Loading…
Cancel
Save