Skip to content

Commit

Permalink
ci: add git login lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Apr 28, 2021
1 parent 40ab3a3 commit 3e8e61b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Git Identity
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Yarn install
run: yarn
- name: Run tag
run: yarn lerna version --conventional-commits --create-release github --yes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-and-deploy-api:
needs: tag
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -37,6 +45,7 @@ jobs:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:release web -a mach-api
build-and-deploy-front:
needs: tag
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 3e8e61b

Please sign in to comment.