Skip to content

Commit 371eea6

Browse files
committed
add tweet workflow
1 parent a7e2739 commit 371eea6

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflow/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3+
4+
name: publish
5+
6+
on:
7+
release:
8+
types: [published]
9+
10+
jobs:
11+
tweet:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: Eomm/why-don-t-you-tweet@v1
15+
if: ${{ !github.event.repository.private }}
16+
with:
17+
tweet-message: "Extension for @code with const and props snippets ${{ github.event.release.tag_name }} 🐛🔨 is here 🥳\n\n
18+
$ ext install deinsoftware.const-props-snippets\n\n
19+
#vscode #snippets #javascript #typescript #react #vuejs #json\n\n
20+
https://marketplace.visualstudio.com/items?itemName=deinsoftware.const-props-snippets"
21+
env:
22+
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
23+
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
24+
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
25+
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"cadr",
55
"codr",
66
"deinsoftware",
7+
"Eomm",
78
"Equiman",
89
"jeam",
910
"jeom",
@@ -16,7 +17,8 @@
1617
"rpcn",
1718
"rpoch",
1819
"rpocl",
19-
"volta"
20+
"volta",
21+
"vuejs"
2022
],
2123
"markdownlint.config": {
2224
"MD024": { "siblings_only": true },

0 commit comments

Comments
 (0)