Skip to content

Merge pull request #630 from carlosperate/micropy-lib2 #608

Merge pull request #630 from carlosperate/micropy-lib2

Merge pull request #630 from carlosperate/micropy-lib2 #608

name: Tweet New Entries
on:
push:
branches:
- master
- action
- ci
jobs:
tweet:
name: Tweet new entries
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Run tweet action tests
uses: ./.github/actions/tweet-commit
with:
args: test
- name: Send Tweet if requested in commit message
uses: ./.github/actions/tweet-commit
with:
trigger_keyword: TweetMe!
twitter_consumer_key: "${{ secrets.twitter_consumer_key }}"
twitter_consumer_secret: "${{ secrets.twitter_consumer_secret }}"
twitter_access_token: "${{ secrets.twitter_access_token }}"
twitter_access_token_secret: "${{ secrets.twitter_access_token_secret }}"