mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: use artifact
This commit is contained in:
1 parent
55927258ca
commit
374d6c22f9
3 files changed
+14
-14
No files matched your search
@@ -72,16 +72,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment:
|
environment:
|
||||||
name: Preview
|
name: Preview
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: oven-sh/setup-bun@v1
|
- name: Download artifact
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
path: ./dist/website
|
||||||
|
|
||||||
- name: Install Vercel CLI
|
- uses: amondnet/vercel-action@v25
|
||||||
run: bun install --global vercel@latest
|
with:
|
||||||
|
vercel-token: ${{ secrets.VERCEL_TOKEN }}
|
||||||
- name: Pull Vercel environment information
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
|
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
|
||||||
|
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||||
- name: Deploy project artifacts to vercel
|
working-directory: ./dist/website
|
||||||
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
|
|
||||||
@@ -26,3 +26,4 @@ target
|
|||||||
# !packages/core/src/protos/*.proto
|
# !packages/core/src/protos/*.proto
|
||||||
/.vercel
|
/.vercel
|
||||||
/.astro
|
/.astro
|
||||||
|
.vercel
|
||||||
+2
-4
@@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"git": {
|
"github": {
|
||||||
"deploymentEnabled": {
|
"enabled": false
|
||||||
"main": false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user