File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- # This workflow builds and publishes the shadcn registry to GitHub Pages when tags are pushed
1+ # This workflow builds and publishes the shadcn registry to GitHub Pages when main branch is updated
22
33name : Publish Registry
44
55on :
66 push :
7- tags :
8- - ' * '
7+ branches :
8+ - main
99
1010permissions :
1111 contents : read
@@ -14,6 +14,7 @@ permissions:
1414
1515jobs :
1616 publish :
17+ environment : github-pages
1718 runs-on : ubuntu-latest
1819 steps :
1920 - name : Checkout repository
@@ -123,10 +124,10 @@ jobs:
123124 EOF
124125
125126 - name : Setup Pages
126- uses : actions/configure-pages@v4
127+ uses : actions/configure-pages@v5
127128
128129 - name : Upload artifact
129- uses : actions/upload-pages-artifact@v3
130+ uses : actions/upload-pages-artifact@v4
130131 with :
131132 path : ./registry-static
132133
You can’t perform that action at this time.
0 commit comments