Skip to content

Commit

Permalink
Merge pull request #73 from hatena/fix-push-draft
Browse files Browse the repository at this point in the history
changed-draft-filesのfileをmdファイルに限定する
  • Loading branch information
halkt authored Apr 2, 2024
2 parents 3f8a4fb + a5a598e commit a548c2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: changed-draft-files
uses: tj-actions/changed-files@v43
with:
files: draft_entries/**
files: draft_entries/**/*.md
- name: push only draft entry
run: |
for file in ${{ steps.changed-draft-files.outputs.all_changed_files }}; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-when-publishing-from-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: changed-draft-files
uses: tj-actions/changed-files@v43
with:
files: draft_entries/**
files: draft_entries/**/*.md
since_last_remote_commit: true
- name: blogsync push and delete file
id: publised-from-draft
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@v43
with:
files: ${{ inputs.local_root }}/**
files: ${{ inputs.local_root }}/**/*.md
since_last_remote_commit: true
- name: blogsync push
run: |
Expand Down

0 comments on commit a548c2f

Please sign in to comment.