Skip to content

Commit

Permalink
Merge pull request #140 from netceteragroup/ci/update-build-deploy-wo…
Browse files Browse the repository at this point in the history
…rkflow

ci(update): adjust build-deploy workflow
  • Loading branch information
velinovskav committed Jan 31, 2024
2 parents 4974957 + b5262fc commit e75a368
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:

- name: lint
run: npm run lint

- name: test
run: npm run test:lib-coverage
- name: test report
Expand All @@ -59,15 +60,8 @@ jobs:
- name: build
run: npm run build

deploy:
runs-on: ubuntu-latest
needs: build
permissions:
contents: write

steps:
- name: deploy 🚀
if: ${{ github.ref == 'refs/heads/master' }}
- name: deploy
if: ${{ success() && github.ref == 'refs/heads/master' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist/data-grid-demo

0 comments on commit e75a368

Please sign in to comment.