Skip to content

Commit c5c2676

Browse files
committed
chore: 스크립트 수정
1 parent 8dc142b commit c5c2676

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
jobs:
1010
deploy:
1111
runs-on: ubuntu-22.04
12+
permissions:
13+
contents: write
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
1216
steps:
1317
- uses: actions/checkout@v4
1418

@@ -30,6 +34,7 @@ jobs:
3034

3135
- name: Deploy
3236
uses: peaceiris/actions-gh-pages@v4
37+
if: github.ref == 'refs/heads/master'
3338
with:
3439
github_token: ${{ secrets.GITHUB_TOKEN }}
3540
publish_dir: ./public

0 commit comments

Comments
 (0)