Skip to content

fix(ci): remove duplicated steps #6

fix(ci): remove duplicated steps

fix(ci): remove duplicated steps #6

Workflow file for this run

name: Deployment
on:
push:
env:
ASTRO_TELEMETRY_DISABLED: true
jobs:
main:
runs-on: ubuntu-latest
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v2
- name: Set up nodejs
uses: actions/setup-node@v4
with:
node-version-file: "package.json"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Check project styles
run: pnpm check
- name: Pull environment information
run: pnpm prod:setup --token=${{ secrets.VERCEL_TOKEN }}
- name: Build artifacts
run: pnpm build
- name: Deploy artifacts
run: pnpm prod:deploy --token=${{ secrets.VERCEL_TOKEN }}