-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
344554c
commit a0746ad
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -38,7 +42,7 @@ jobs: | |
commit_user_name: My GitHub Actions Bot | ||
commit_user_email: [email protected] | ||
commit_author: Author <[email protected]> | ||
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 | ||
|