Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Jun 11, 2023
1 parent a0dc6cb commit eef924e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./src/docs/build
cname: ${{ secrets.CNAME }}
cname: $CNAME
7 changes: 4 additions & 3 deletions .github/workflows/release-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
type: choice
description: Release type
options:
- patch
- minor
- :patch
- :minor
push:
branches:
- master
Expand All @@ -17,6 +17,7 @@ on:
- "!src/docs/**"
- "!src/tests/**"
- "!src/experiments/**"

jobs:
release:
name: "Release"
Expand All @@ -38,7 +39,7 @@ jobs:
run: |
git config --local user.email "pouya.saadeghi@gmail.com"
git config --local user.name "Pouya Saadeghi"
npm run release:${{ github.event.inputs.release-type }}
npm run release${{ github.event.inputs.release-type }}
- name: build package
run: npm run build
Expand Down

0 comments on commit eef924e

Please sign in to comment.