Skip to content

Commit

Permalink
added env variable to note create
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparrow0hawk authored Jun 10, 2022
1 parent 083343c commit e87db7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/create-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
- name: export markdown file to hackmd
shell: bash -l {0}
id: hackmd-create
env:
HMD_API_ACCESS_TOKEN: ${{ secrets.HMD_API_ACCESS_TOKEN }}
run: |
echo "::set-output name=hackmd_link::$(cat ${{ steps.branch-name.outputs.current_branch }}.md | hackmd-cli notes create | grep -oP 'http.?://\S+')"
Expand Down

0 comments on commit e87db7c

Please sign in to comment.