Skip to content

Commit 2b91969

Browse files
committed
add tweet workflow
1 parent d699faf commit 2b91969

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.github/workflows/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 arrow function snippets ${{ github.event.release.tag_name }} 🐛🔨 is here 🥳\n\n
18+
$ ext install deinsoftware.arrow-function-snippets\n\n
19+
#vscode #snippets #arrowfunction #javascript #typescript #react #vuejs\n\n
20+
https://marketplace.visualstudio.com/items?itemName=deinsoftware.arrow-function-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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"arfne",
1616
"arfoeq",
1717
"arfone",
18+
"arrowfunction",
1819
"arsna",
1920
"arsnd",
2021
"aruv",
@@ -29,11 +30,13 @@
2930
"ecaft",
3031
"edaaf",
3132
"edaf",
33+
"Eomm",
3234
"Equiman",
3335
"iiaf",
3436
"patreon",
3537
"paypal",
36-
"volta"
38+
"volta",
39+
"vuejs"
3740
],
3841
"markdownlint.config": {
3942
"MD024": { "siblings_only": true },

0 commit comments

Comments
 (0)