You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2020/04/02 08:53:39 UTC
[cordova] branch master updated: integrate action for twitter
together
This is an automated email from the ASF dual-hosted git repository.
purplecabbage pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova.git
The following commit(s) were added to refs/heads/master by this push:
new 75f17b3 integrate action for twitter together
75f17b3 is described below
commit 75f17b31c24d39f7ea10c6c5d7f7abadc3c59aef
Author: Jesse MacFadyen <pu...@gmail.com>
AuthorDate: Thu Apr 2 01:53:29 2020 -0700
integrate action for twitter together
---
.github/workflows/twitter-together.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/.github/workflows/twitter-together.yml b/.github/workflows/twitter-together.yml
new file mode 100644
index 0000000..12720c1
--- /dev/null
+++ b/.github/workflows/twitter-together.yml
@@ -0,0 +1,26 @@
+on: [push, pull_request]
+name: Twitter, together!
+jobs:
+ preview:
+ name: Preview
+ runs-on: ubuntu-latest
+ if: github.event_name == 'pull_request'
+ steps:
+ - uses: gr2m/twitter-together@v1.x
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ tweet:
+ name: Tweet
+ runs-on: ubuntu-latest
+ if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+ steps:
+ - name: checkout master
+ uses: actions/checkout@v2
+ - name: Tweet
+ uses: gr2m/twitter-together@v1.x
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
+ TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
+ TWITTER_API_KEY: ${{ secrets.TWITTER_API_KEY }}
+ TWITTER_API_SECRET_KEY: ${{ secrets.TWITTER_API_SECRET_KEY }}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org