From 6a4b3761a955a65655963b2000b4ecc13bdf9397 Mon Sep 17 00:00:00 2001 From: developomp Date: Sun, 25 Jun 2023 12:01:11 +0900 Subject: [PATCH] chore: tidy up github action --- .github/workflows/deploy.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e95e8bf..14d8add 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,28 +1,34 @@ name: Deploy pages +description: Deploy sites in firebase.json on: push: branches: - master jobs: - blog: + deploy: if: ${{ github.repository_owner == 'developomp' }} name: Deploy runs-on: ubuntu-latest steps: - name: Checkout Repo uses: actions/checkout@master + - uses: pnpm/action-setup@v2 with: version: 8 + - name: Setup Node uses: actions/setup-node@v2 with: node-version: 18 cache: pnpm + - name: Install dependencies run: pnpm install + - name: Build run: pnpm build + - name: Deploy to Firebase uses: w9jds/firebase-action@master with: