Ryan Chandler %!s(int64=4) %!d(string=hai) anos
pai
achega
085d9902ba
Modificáronse 1 ficheiros con 16 adicións e 0 borrados
  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 }}