Skip to content

Commit

Permalink
Merge pull request #59 from Jonas56/imp-pipeline
Browse files Browse the repository at this point in the history
Update pipeline.yml
  • Loading branch information
Jonas56 authored Dec 11, 2021
2 parents d886fd6 + a661d31 commit 8202842
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: Branch ref name
run: echo ${{ github.ref_name }}
- name: Install dependencies
run: npm run install-app
- name: lint checking
Expand All @@ -40,7 +42,7 @@ jobs:
# start: npm run start-prod
# wait-on: http://localhost:5000
- name: Deploy
if: ${{ github.ref == 'main' }}
if: ${{ github.ref_name == 'main' }}
uses: akhileshns/[email protected] # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
Expand All @@ -49,7 +51,7 @@ jobs:
# healthcheck: "law-firm-management-sys.herokuapp.com/version"
# checkString: "1.1.0"
- name: Bump version and push tag
if: ${{ github.ref == 'main' }}
if: ${{ github.ref_name == 'main' }}
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 8202842

Please sign in to comment.