From 66312acd073ba6e33c324166631b5004dc080965 Mon Sep 17 00:00:00 2001 From: tymmkang Date: Thu, 26 Feb 2026 23:15:42 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B9=83=ED=8B=B0=20=EC=95=A1=EC=85=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..59e354c --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,25 @@ +name: Deploy Static Site to Cloudflare Pages +on: + push: + branches: + - deploy # 배포 기준이 되는 브랜치 이름 (master를 쓰신다면 master로 변경) + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: 저장소 체크아웃 + uses: actions/checkout@v3 + + # npx(wrangler)를 실행하기 위해 Node.js 환경만 가볍게 세팅합니다. + - name: Node.js 세팅 + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Cloudflare Pages 배포 + env: + CLOUDFLARE_API_TOKEN: rka9QVA_-_NXxkXfZmx4Rh93vwaYU6wfoQA6r0TY + CLOUDFLARE_ACCOUNT_ID: a158eefc10ac767335d6151c3c85d4a7 + # 빌드 없이 현재 폴더('.') 전체를 즉시 배포합니다. + run: npx wrangler@latest pages deploy . --project-name=static \ No newline at end of file