Skip to content

Commit

Permalink
배포 단계 축소
Browse files Browse the repository at this point in the history
  • Loading branch information
oshx committed Jun 24, 2024
1 parent 6525ed9 commit 49dbb03
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ on:
branches:
- master
jobs:
build:
deploy:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Check out
uses: actions/checkout@v4
Expand All @@ -21,18 +27,6 @@ jobs:
node-version: 18
- run: npm ci
- run: npm run build

deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
Expand Down

0 comments on commit 49dbb03

Please sign in to comment.