Skip to content

Commit a819c7f

Browse files
committed
ADD TO: publish action / fix commit message - testing single line
1 parent e333921 commit a819c7f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-wiki.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ jobs:
5050

5151
- name: Deploy to wiki
5252
uses: Andrew-Chen-Wang/github-wiki-action@v4
53+
env:
54+
COMMIT_MSG: ${{ github.event.head_commit.message }}
5355
with:
5456
strategy: 'clone'
5557
path: '_wiki/'
56-
# commit-message: ...
58+
commit-message: "$COMMIT_MSG"
5759
# repository: PHPCSStandards/PHP_CodeSniffer
5860
# token: ${{ secrets.PHPCS_GITHUB_TOKEN }}
59-
# dry-run: ${{ github.event_name == 'pull_request' }}
61+
dry-run: ${{ github.event_name == 'pull_request' }}

0 commit comments

Comments
 (0)