File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ name: CI
33on :
44 push :
55 branches :
6- - main
6+ - experimental
77 pull_request :
88 branches :
9- - main
9+ - experimental
1010
1111permissions :
1212 contents : read
4444
4545 - name : Upload documentation
4646 uses : actions/upload-pages-artifact@v4
47- if : github.ref == 'refs/heads/main ' && github.event_name == 'push'
47+ if : github.ref == 'refs/heads/experimental ' && github.event_name == 'push'
4848 with :
4949 path : ./dist
5050
6969 path : " *.tgz"
7070
7171 - name : Publish to npm
72- if : github.ref == 'refs/heads/main ' && github.event_name == 'push'
72+ if : github.ref == 'refs/heads/experimental ' && github.event_name == 'push'
7373 env :
7474 NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
7575 run : npm publish --access public ./*.tgz --tag experimental
8080 environment :
8181 name : github-pages
8282 url : ${{ steps.deployment.outputs.page_url }}
83- if : github.ref == 'refs/heads/main ' && github.event_name == 'push'
83+ if : github.ref == 'refs/heads/experimental ' && github.event_name == 'push'
8484 steps :
8585 - name : Deploy to GitHub Pages
8686 id : deployment
You can’t perform that action at this time.
0 commit comments