This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
Merge pull request #296 from AvineshTripathi/patch-1 #196
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
# on: [push, pull_request] | |
# name: Twitter, together! | |
# jobs: | |
# preview: | |
# name: Preview | |
# runs-on: ubuntu-latest | |
# if: github.event_name == 'pull_request' | |
# steps: | |
# - uses: gr2m/[email protected] | |
# 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/[email protected] | |
# 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 }} |