Skip to content

Commit 8f9f1b9

Browse files
committed
chore(action): rename publish_dir for deploy
1 parent 1c9c7e1 commit 8f9f1b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565

6666
- name: Deploy to GitHub Pages
6767
uses: peaceiris/actions-gh-pages@v3
68+
if: github.ref == 'refs/heads/main'
6869
with:
6970
github_token: ${{ secrets.GITHUB_TOKEN }}
70-
publish_dir: swagger-u
71+
publish_dir: swagger-ui

0 commit comments

Comments
 (0)