v1.0.10 #7
Workflow file for this run
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
name: Send Bluesky Post | |
on: | |
release: | |
types: [published] | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
post: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: get latest release | |
id: get_latest_release | |
run: | | |
echo ::set-output name=tag::$(git describe --tags --abbrev=0) | |
- name: Send Bluesky Post | |
uses: myConsciousness/bluesky-post@v5 | |
with: | |
text: "[VocabPhrase](https://vocab-phrase.vercel.app)の${{ steps.get_latest_release.outputs.tag }}が公開されました。 詳細は [こちら](${{ github.event.release.html_url }})" | |
link-preview-url: "https://vocab-phrase.vercel.app" | |
identifier: ${{ secrets.BLUESKY_IDENTIFIER }} | |
password: ${{ secrets.BLUESKY_PASSWORD }} |