Skip to content

Commit

Permalink
Deploy: yaml 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
suehub committed Jan 3, 2024
1 parent b26721f commit 0871b00
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- 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 }}
id: deploy
run: |
DEPLOY_URL=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} | grep -o 'https://[^ ]*')
echo "::set-output name=url::$DEPLOY_URL"
- name: Alias Deployment to Custom Domain
run: vercel alias https://weplanplans-dev.vercel.app/ your-custom-domain.com --token=${{ secrets.VERCEL_TOKEN }}
run: vercel alias ${{ steps.deploy.outputs.url }} https://weplanplans-dev.vercel.app/ --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit 0871b00

Please sign in to comment.