We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fa00a5 commit 1b0c649Copy full SHA for 1b0c649
.github/workflows/release.yml
@@ -1,6 +1,9 @@
1
name: Release
2
3
-on: workflow_dispatch
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
concurrency: ${{ github.workflow }}-${{ github.ref }}
9
@@ -28,7 +31,7 @@ jobs:
28
31
run: npm run build
29
32
- name: Run tests
30
33
run: npm run test
- - name: Version bump and publish to npm
34
+ - name: Version bump and create pull request OR publish to npm
35
id: changesets
36
uses: changesets/action@v1
37
with:
@@ -41,5 +44,6 @@ jobs:
41
44
- name: Publish to PyPI
42
45
if: steps.changesets.outputs.published == 'true'
43
46
run: |
47
+ pip install twine
48
cd packages/mystmd-py
49
bash scripts/pypi-deploy.sh
0 commit comments