31
31
runs-on: ubuntu-latest
32
32
steps:
33
33
- uses: actions/checkout@v4
34
- - uses: ./.github/actions/pnpm-install
34
+ - uses: vuetifyjs/setup-action@master
35
35
- run: pnpm build vuetify
36
- - uses: ./.github/ actions/upload-artifact
36
+ - uses: actions/upload-artifact@v4
37
37
with:
38
38
name: vuetify-dist
39
39
path: >
@@ -51,10 +51,10 @@ jobs:
51
51
scopes: ['--scope vuetify --scope @vuetify/api-generator', '--scope vuetifyjs.com']
52
52
steps:
53
53
- uses: actions/checkout@v4
54
- - uses: ./.github/ actions/download-artifact
54
+ - uses: actions/download-artifact@v4
55
55
with:
56
56
name: vuetify-dist
57
- - uses: ./.github/actions/pnpm-install
57
+ - uses: vuetifyjs/setup-action@master
58
58
- run: pnpm lerna run lint $SCOPES
59
59
env:
60
60
SCOPES: ${{ matrix.scopes }}
66
66
runs-on: ubuntu-latest
67
67
steps:
68
68
- uses: actions/checkout@v4
69
- - uses: ./.github/actions/pnpm-install
69
+ - uses: vuetifyjs/setup-action@master
70
70
- run: pnpm run test --project unit
71
71
working-directory: ./packages/vuetify
72
72
77
77
runs-on: ubuntu-latest
78
78
steps:
79
79
- uses: actions/checkout@v4
80
- - uses: ./.github/actions/pnpm-install
80
+ - uses: vuetifyjs/setup-action@master
81
81
- run: pnpm run test --project browser
82
82
working-directory: ./packages/vuetify
83
83
@@ -89,10 +89,10 @@ jobs:
89
89
- uses: actions/checkout@v4
90
90
with:
91
91
fetch-depth: 0
92
- - uses: ./.github/ actions/download-artifact
92
+ - uses: actions/download-artifact@v4
93
93
with:
94
94
name: vuetify-dist
95
- - uses: ./.github/actions/pnpm-install
95
+ - uses: vuetifyjs/setup-action@master
96
96
- run: pnpm build api
97
97
- run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
98
98
- name: NPM Release
@@ -114,10 +114,10 @@ jobs:
114
114
runs-on: ubuntu-latest
115
115
steps:
116
116
- uses: actions/checkout@v4
117
- - uses: ./.github/ actions/download-artifact
117
+ - uses: actions/download-artifact@v4
118
118
with:
119
119
name: vuetify-dist
120
- - uses: ./.github/actions/pnpm-install
120
+ - uses: vuetifyjs/setup-action@master
121
121
- uses: ./.github/actions/download-locales
122
122
- run: pnpm build api
123
123
- run: pnpm build docs
@@ -134,53 +134,24 @@ jobs:
134
134
VITE_EMAILJS_TEMPLATE_ID: ${{ secrets.EMAILJS_TEMPLATE_ID }}
135
135
VITE_API_SERVER_URL: ${{ secrets.API_SERVER_URL }}
136
136
VITE_GITHUB_SHA: ${{ github.sha }}
137
- - uses: ./.github/ actions/upload-artifact
137
+ - uses: actions/upload-artifact@v4
138
138
with:
139
139
name: docs-dist
140
140
path: packages/docs/dist
141
141
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:
158
143
needs: [lint, test-unit, build-docs]
159
144
runs-on: ubuntu-latest
160
145
environment: Production
161
146
if: github.event_name == 'push' && github.repository_owner == 'vuetifyjs' && github.ref == 'refs/heads/master'
162
147
steps:
163
148
- uses: actions/checkout@v4
164
- - uses: ./.github/ actions/download-artifact
149
+ - uses: actions/download-artifact@v4
165
150
with:
166
151
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
177
153
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