Skip to content

Commit 94fe84d

Browse files
committed
chore(ci): remove vercel, simplify workflows
1 parent d31a300 commit 94fe84d

File tree

9 files changed

+21
-229
lines changed

9 files changed

+21
-229
lines changed

.github/actions/download-artifact/action.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/actions/nightly-release/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
repository: ${{ inputs.checkout-repo }}
3636
ref: ${{ inputs.checkout-ref }}
3737
fetch-depth: 0
38-
- uses: ./.github/actions/pnpm-install
38+
- uses: vuetifyjs/setup-action@master
3939
- run: >-
4040
node -e "
4141
const json = require('./lerna.json');

.github/actions/pnpm-install/action.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/actions/upload-artifact/action.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 19 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -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 }}
@@ -66,7 +66,7 @@ jobs:
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

@@ -77,7 +77,7 @@ jobs:
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 }}

.github/workflows/nightly-schedule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
echo "Last commit was more than 24 hours ago, skipping tests"
6565
exit 1
6666
fi
67-
- uses: ./.github/actions/pnpm-install
67+
- uses: vuetifyjs/setup-action@master
6868
- run: echo "COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
6969
- run: pnpm cy:run
7070
working-directory: ./packages/vuetify

.vercelignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

scripts/deploy-and-alias.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

vercel.json

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)