diff --git a/.github/workflows/tweet.yml b/.github/workflows/tweet.yml new file mode 100644 index 00000000..5958b57a --- /dev/null +++ b/.github/workflows/tweet.yml @@ -0,0 +1,23 @@ +name: tweet +on: + push: + tags: + - '*' + release: + types: [ published ] + +jobs: + tweet: + runs-on: ubuntu-latest + steps: + - name: Tweet + uses: snow-actions/tweet@v1 + with: + status: | + We are proud to announce that ${{ github.repository }} ยท ${{ github.event.release.name }} + ${{ github.event.release.html_url }} is now released ๐Ÿš€. #jwt #jwe #jws #jwk #jwa #php #symfony + env: + CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }} + CONSUMER_API_SECRET_KEY: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} + ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} + ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}