Skip to content

Commit

Permalink
clean main.yml and README.md with correct settings
Browse files Browse the repository at this point in the history
  • Loading branch information
noweh committed Sep 18, 2023
1 parent efc1f0b commit 77dbae9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ jobs:
id: hello
uses: noweh/[email protected]
with:
message: "Hi, this is a test!"
message: "Hello world, this is a test!"
consumer-key: ${{ secrets.TWITTER_CONSUMER_KEY }}
consumer-secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
bearer-token: ${{ secrets.TWITTER_BEARER_TOKEN }}
# Use the output from the `hello` step
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ jobs:
steps:
- uses: noweh/post-tweet-v2-action@v1
with:
status: "Hi, this is a test!"
bearer-token: ${{ secrets.TWITTER_BEARER_TOKEN }}
message: "Hi, this is a test!"
consumer-key: ${{ secrets.TWITTER_CONSUMER_KEY }}
consumer-secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
```
Now whenever you push something to your repository, GitHub Actions will tweet on your behalf.

0 comments on commit 77dbae9

Please sign in to comment.