fix: 폰트 적용 안되는 오류 수정 #67
Workflow file for this run
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: Development Web Deploy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- '.github/**/!(*.yml)' | |
- '.husky/**/*' | |
- '.vscode/**/*' | |
jobs: | |
deploy-web: | |
runs-on: ubuntu-latest | |
name: Deploy Web to Cloudflare Pages | |
steps: | |
- name: Checkout Branch | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install Packages | |
run: yarn install --immutable | |
env: | |
CI: true | |
- name: Build Web | |
run: yarn build:pages | |
working-directory: apps/web | |
- name: Publish Web | |
id: publish | |
run: | | |
set -o pipefail | |
yarn wrangler pages deploy ".vercel/output/static" --project-name "${{ vars.PAGES_NAME_WEB_DEVELOPMENT }}" | tee deploy.log | |
echo "log<<EOF" >> $GITHUB_OUTPUT | |
echo "$(cat deploy.log)" >> $GITHUB_OUTPUT | |
echo "EOF" >> $GITHUB_OUTPUT | |
working-directory: apps/web | |
env: | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
- name: Publish SSR Gateway | |
if: github.event_name == 'push' | |
run: | | |
yarn wrangler deploy -e preview | |
working-directory: apps/ssr-gateway | |
env: | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} |