Skip to content

Commit

Permalink
[ECO-555] - Test git action setup preview v4
Browse files Browse the repository at this point in the history
  • Loading branch information
sotatek-tyler-nguyen committed Oct 6, 2023
1 parent ed80be0 commit da81c34
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- name: Initialize Submodules
run: git submodule update --init --recursive
# - name: Install Vercel CLI
# run: npm install --global vercel@canary
# - 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: Deploy Project Artifacts to Vercel
# run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy to Vercel
uses: actions/deploy@v2
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
- name: Install Vercel CLI
run: pnpm install --global vercel@canary
- 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: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
# - name: Deploy to Vercel
# uses: actions/deploy@v2
# with:
# vercel-token: ${{ secrets.VERCEL_TOKEN }}

0 comments on commit da81c34

Please sign in to comment.