Skip to content

Commit

Permalink
Update blogpost creation [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmassay committed Jul 21, 2021
1 parent 344554c commit a0746ad
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/make_blog_post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,22 @@ jobs:
post:
runs-on: ubuntu-latest
steps:
- name: Get tag name
id: get_tag_name
run: echo ::set-output name=TAGNAME::${GITHUB_REF/refs\/tags\//}

- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
ref: master
path: main

- name: Checkout website
uses: actions/checkout@v2
with:
token: ${{ secrets.ROBO_ACTIONS }}
repository: sigil-ebook/sigil-ebook.github.io
ref: ${{ github.head_ref }}
ref: master
path: website

- name: Get Release details
Expand All @@ -38,7 +42,7 @@ jobs:
commit_user_name: My GitHub Actions Bot
commit_user_email: my-github-actions-bot@example.org
commit_author: Author <actions@github.com>
commit_message: Auto create release blog post
commit_message: Auto create ${{ steps.get_tag_name.outputs.TAGNAME }} release blog post
branch: master

# Trigger sigil-ebook.com to update its version info
Expand Down

0 comments on commit a0746ad

Please sign in to comment.