@@ -31,12 +31,12 @@ jobs:
3131 runs-on : ubuntu-latest
3232 steps :
3333 - uses : actions/checkout@v4
34- - uses : ./.github/actions/pnpm-install
34+ - uses : vuetifyjs/setup-action@master
3535 - run : pnpm build vuetify
36- - uses : ./.github/ actions/upload-artifact
36+ - uses : actions/upload-artifact@v4
3737 with :
3838 name : vuetify-dist
39- path : >
39+ path : |
4040 packages/vuetify/dist
4141 packages/vuetify/lib
4242
@@ -51,10 +51,10 @@ jobs:
5151 scopes : ['--scope vuetify --scope @vuetify/api-generator', '--scope vuetifyjs.com']
5252 steps :
5353 - uses : actions/checkout@v4
54- - uses : ./.github/ actions/download-artifact
54+ - uses : actions/download-artifact@v4
5555 with :
5656 name : vuetify-dist
57- - uses : ./.github/actions/pnpm-install
57+ - uses : vuetifyjs/setup-action@master
5858 - run : pnpm lerna run lint $SCOPES
5959 env :
6060 SCOPES : ${{ matrix.scopes }}
6666 runs-on : ubuntu-latest
6767 steps :
6868 - uses : actions/checkout@v4
69- - uses : ./.github/actions/pnpm-install
69+ - uses : vuetifyjs/setup-action@master
7070 - run : pnpm run test --project unit
7171 working-directory : ./packages/vuetify
7272
7777 runs-on : ubuntu-latest
7878 steps :
7979 - uses : actions/checkout@v4
80- - uses : ./.github/actions/pnpm-install
80+ - uses : vuetifyjs/setup-action@master
8181 - run : pnpm run test --project browser
8282 working-directory : ./packages/vuetify
8383
@@ -89,10 +89,10 @@ jobs:
8989 - uses : actions/checkout@v4
9090 with :
9191 fetch-depth : 0
92- - uses : ./.github/ actions/download-artifact
92+ - uses : actions/download-artifact@v4
9393 with :
9494 name : vuetify-dist
95- - uses : ./.github/actions/pnpm-install
95+ - uses : vuetifyjs/setup-action@master
9696 - run : pnpm build api
9797 - run : echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
9898 - name : NPM Release
@@ -114,10 +114,10 @@ jobs:
114114 runs-on : ubuntu-latest
115115 steps :
116116 - uses : actions/checkout@v4
117- - uses : ./.github/ actions/download-artifact
117+ - uses : actions/download-artifact@v4
118118 with :
119119 name : vuetify-dist
120- - uses : ./.github/actions/pnpm-install
120+ - uses : vuetifyjs/setup-action@master
121121 - uses : ./.github/actions/download-locales
122122 - run : pnpm build api
123123 - run : pnpm build docs
@@ -134,53 +134,24 @@ jobs:
134134 VITE_EMAILJS_TEMPLATE_ID : ${{ secrets.EMAILJS_TEMPLATE_ID }}
135135 VITE_API_SERVER_URL : ${{ secrets.API_SERVER_URL }}
136136 VITE_GITHUB_SHA : ${{ github.sha }}
137- - uses : ./.github/ actions/upload-artifact
137+ - uses : actions/upload-artifact@v4
138138 with :
139139 name : docs-dist
140140 path : packages/docs/dist
141141
142- publish-docs-vercel :
143- needs : [lint, test-unit, build-docs]
144- runs-on : ubuntu-latest
145- if : github.event_name == 'push' && github.repository_owner == 'vuetifyjs' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/next')
146- steps :
147- - uses : actions/checkout@v4
148- - uses : ./.github/actions/download-artifact
149- with :
150- name : docs-dist
151- - uses : ./.github/actions/pnpm-install
152- - run : pnpm add vercel --global
153- - run : node scripts/deploy-and-alias.js ${{ github.ref }}
154- env :
155- NOW_TOKEN : ${{ secrets.NOW_TOKEN }}
156-
157- publish-docs-coolify :
142+ publish-docs :
158143 needs : [lint, test-unit, build-docs]
159144 runs-on : ubuntu-latest
160145 environment : Production
161146 if : github.event_name == 'push' && github.repository_owner == 'vuetifyjs' && github.ref == 'refs/heads/master'
162147 steps :
163148 - uses : actions/checkout@v4
164- - uses : ./.github/ actions/download-artifact
149+ - uses : actions/download-artifact@v4
165150 with :
166151 name : docs-dist
167- - uses : docker/login-action@v3
168- with :
169- registry : ghcr.io
170- username : ${{ github.actor }}
171- password : ${{ secrets.GITHUB_TOKEN }}
172- - id : meta
173- uses : docker/metadata-action@v5
174- with :
175- images : ghcr.io/vuetifyjs/docs
176- - uses : docker/build-push-action@v6
152+ - uses : vuetifyjs/coolify-action@master
177153 with :
178- context : .
179- file : Dockerfile
180- platforms : linux/amd64
181- push : true
182- tags : ${{ steps.meta.outputs.tags }}
183- labels : ${{ steps.meta.outputs.labels }}
184- - name : Deploy to Coolify
185- run : |
186- curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
154+ token : ${{ secrets.GITHUB_TOKEN }}
155+ imageName : docs
156+ coolifyWebhook : ${{ secrets.COOLIFY_WEBHOOK }}
157+ coolifySecret : ${{ secrets.COOLIFY_TOKEN }}
0 commit comments