Skip to content

Commit

Permalink
ci: add conditional npm build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron de las Alas committed Oct 31, 2023
1 parent 28376f0 commit aa4b456
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 344 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
full_commit_message: "Build for ${{ github.sha }} ${{ github.event.head_commit.message }}"
enable_jekyll: true
- name: Deploy to npm
if: (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/develop') || startsWith(github.ref, 'refs/heads/hotfix') || startsWith(github.ref, 'refs/heads/release') || startsWith(github.ref, 'refs/heads/beta')
run: |
export RELEASE_VERSION="0.2.0-prerelease.$(date +'%Y%m%d%H%M%S')"
if [[ "${{contains(github.ref, 'hotfix')}} ]]; then
Expand Down
Loading

0 comments on commit aa4b456

Please sign in to comment.