Skip to content

Commit

Permalink
fix: 워크플로우 jobs를 나누었던 부분을 한개로 통합
Browse files Browse the repository at this point in the history
  • Loading branch information
leeari95 committed Jul 27, 2024
1 parent 3121af4 commit 3002d2b
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/update-markdown-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,19 @@ concurrency:
group: "pages"
cancel-in-progress: true

permissions:
contents: read
pages: write
id-token: write

jobs:
update-markdown:
runs-on: macos-latest

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -29,23 +38,6 @@ jobs:
exit 1
fi
deploy:
runs-on: macos-latest
needs: update-markdown

permissions:
contents: read
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build Documentation
working-directory: ${{ github.workspace }}
run: |
Expand Down

0 comments on commit 3002d2b

Please sign in to comment.