Skip to content

Commit

Permalink
chore(release): update
Browse files Browse the repository at this point in the history
  • Loading branch information
dc7devs committed May 13, 2024
1 parent 6e64fda commit d52dd92
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,32 @@ jobs:
name: Call lint.yml
uses: dc7devs/dcdev.me/.github/workflows/lint.yml@dev

preview:
name: Deploy to preview
runs-on: ubuntu-latest
# preview:
# name: Deploy to preview
# runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
# steps:
# - name: Checkout
# uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.13.x
# - name: Setup Node
# uses: actions/setup-node@v4
# with:
# node-version: 20.13.x

- name: Install PNPM
run: npm i -g pnpm
# - name: Install PNPM
# run: npm i -g pnpm

- name: Install vercel CLI
run: |
pnpm install
pnpm i --global vercel@latest
# - name: Install vercel CLI
# run: |
# pnpm install
# pnpm i --global vercel@latest

- name: Pull vercel environment information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
# - name: Pull vercel environment information
# run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}

- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
# - name: Build Project Artifacts
# run: vercel build --token=${{ secrets.VERCEL_TOKEN }}

- name: Deploy project artifacts to vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
# - name: Deploy project artifacts to vercel
# run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
44 changes: 22 additions & 22 deletions .github/workflows/cd_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,33 +22,33 @@ jobs:
name: Call sync-dev-branch.yml
uses: dc7devs/dcdev.me/.github/workflows/sync-dev-branch.yml@dev

deploy:
name: Deploy to production
runs-on: ubuntu-latest
# deploy:
# name: Deploy to production
# runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
# steps:
# - name: Checkout
# uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.13.x
# - name: Setup Node
# uses: actions/setup-node@v4
# with:
# node-version: 20.13.x

- name: Install PNPM
run: npm i -g pnpm
# - name: Install PNPM
# run: npm i -g pnpm

- name: Install vercel CLI
run: |
pnpm install
pnpm i --global vercel@latest
# - name: Install vercel CLI
# run: |
# pnpm install
# pnpm i --global vercel@latest

- name: Pull vercel environment information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
# - name: Pull vercel environment information
# run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}

- name: Build Project Artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
# - name: Build Project Artifacts
# run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}

- name: Deploy project artifacts to vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
# - name: Deploy project artifacts to vercel
# run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit d52dd92

Please sign in to comment.