feat: 재사용 Swiper Wrapper 컴포넌트 구현 #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Production Deploy ocean-portfolio-client to Vercel | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
deploy-production: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
with: | |
version: 7.26.3 | |
- name: Install Vercel CLI | |
run: npm install --global vercel@latest | |
- name: Pull Vercel Environment Information | |
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_DEPLOY_TOKEN_2 }} | |
- name: Build Project Artifacts | |
run: vercel build --prod --token=${{ secrets.VERCEL_DEPLOY_TOKEN_2 }} | |
- name: Deploy Project Artifacts to Vercel | |
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_DEPLOY_TOKEN_2 }} | |
discord-webhook-notify: | |
name: Discord Notification | |
runs-on: ubuntu-latest | |
needs: | |
- deploy-production | |
if: ${{ always() }} | |
steps: | |
- name: discord-webhook-notify | |
uses: nobrayner/discord-webhook@v1 | |
with: | |
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
discord-webhook: ${{ secrets.UPDATE_WEBHOOK }} | |
username: 'oceanBot' | |
avatar-url: 'https://cdn.discordapp.com/app-icons/1044621624864940163/87fe18353f90a7a4c275be945afc14e5.png?size=512' | |
title: 'Client 웹 서버 업데이트 : ${{ github.event_name }}' | |
description: "🚥 상태 : {{STATUS}}\n🔍 로그 확인 : 제목을 클릭하세요\n주소 : https://www.brand-ing.me/\n성연 : https://yoon0cean.brand-ing.me/\n예지 : https://trialegg.brand-ing.me/\n재윤 : https://happie-0range.brand-ing.me/" | |
include-details: 'false' | |
color-success: '#008d62' | |
color-failure: '#9b111e' | |
color-cancelled: '#ffd400' |