Skip to content

Commit

Permalink
Merge pull request #64 from hatena/use-blogsync-fetch
Browse files Browse the repository at this point in the history
下書き作成(create-draft-action)時にblogsync fetchを使うように変更する
  • Loading branch information
halkt committed Jan 25, 2024
2 parents f0e74e9 + 66eea8a commit dd71957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
run: |
entry_path=$(blogsync post --draft ${{ steps.set-domain.outputs.BLOG_DOMAIN }} < 'draft')
echo "ENTRY_PATH=$entry_path" >> "$GITHUB_OUTPUT"
- name: pull
- name: fetch entry
run: |
blogsync pull ${{ steps.set-domain.outputs.BLOG_DOMAIN }}
blogsync fetch ${{ steps.post-draft.outputs.ENTRY_PATH }}
- name: pull draft by title
uses: hatena/hatenablog-workflows/.github/actions/create-draft-pull-request@v1
with:
Expand Down

0 comments on commit dd71957

Please sign in to comment.