Skip to content

Commit

Permalink
fix: deploy order
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsc0301 committed Jun 30, 2023
1 parent 489f121 commit e34033b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ permissions:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:

build:
deploy:
name: Build and Deploy
runs-on: ubuntu-latest

steps:
Expand All @@ -29,12 +30,7 @@ jobs:
# Runs a single command using the runners shell
- name: Build the project
run: npm ci && npm run build

deploy:
needs: build
runs-on: ubuntu-latest

steps:
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down

0 comments on commit e34033b

Please sign in to comment.