Ryan Chandler 4 years ago
parent
commit
085d9902ba
1 changed files with 16 additions and 0 deletions
  1. 16 0
      .github/workflows/tweet-release.yml

+ 16 - 0
.github/workflows/tweet-release.yml

@@ -0,0 +1,16 @@
+name: Tweet release
+
+on: [release]
+
+jobs:
+  tweet-release:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: ethomson/send-tweet-action@v1
+        with:
+          status: "Hi, this is a test!"
+          consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
+          consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
+          access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
+          access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}