Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
EdamAme-x authored Nov 10, 2023
1 parent 5d1eeb6 commit 1b01234
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Deploy to 's0u7a.net' via Cloudflare Pages

name: Deploy to s0u7a.net via Cloudflare Pages

on:
push:
Expand All @@ -8,7 +9,7 @@ permissions:
contents: read

jobs:
Setup:
build-and-deploy:
runs-on: ubuntu-latest

steps:
Expand All @@ -19,29 +20,16 @@ jobs:
uses: oven-sh/setup-bun@v1

- name: Install deps
run: npm i
Build:
needs: Setup
runs-on: ubuntu-latest

steps:
- name: Build
continue-on-error: true
run: npm run build
run: bun i
- name: Build on Bun
run: bun run build
- name: show dir info
run: |
pwd
ls
Deploy:
needs: Build
runs-on: ubuntu-latest

steps:
- name: Publish
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy dist --project-name=astro-s0u7adotnet

0 comments on commit 1b01234

Please sign in to comment.