-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Arisamiga/lastpost-file
Addition of Lastpost file
- Loading branch information
Showing
6 changed files
with
160 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,15 @@ jobs: | |
embed_image: # Url of embed image | ||
``` | ||
Add on the above `feed_list` your own RSS feed URL. | ||
|
||
Add on the above `ln_access_token` your LinkedIn Access Token. | ||
|
||
(Optional) Add a url of a image on `embed_image` that you would like to use as a image in your embed | ||
| Parameter | Required | Description | Default | | ||
| ----------------- | -------- | ------------------------------------------------------------ | ---------------------------------- | | ||
| `feed_list` | ✓ | Your own RSS feed URL | (No Default URL) | | ||
| `ln_access_token` | ✓ | Your LinkedIn Access Token | (No Default Access Token) | | ||
| `embed_image` | X | The URL of the image you want to use in the embed. | (No Default URL) | | ||
| `last_post_path` | X | The path to the file you want to use to store the last post. | `.github/.lastPost.txt` | | ||
| `commit_user` | X | The username of the commiter. | `Linkedin-Post-Action` | | ||
| `commit_email` | X | The email of the commiter. | `[email protected]` | | ||
| `commit_message` | X | The commit message. | `Update Last Post File` | | ||
|
||
## How to get your LinkedIn Access Token | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,28 @@ inputs: | |
feed_list: # Url of RSS | ||
description: "RSS Link" | ||
required: true | ||
ln_access_token: # Url of LinkedIn Access Token | ||
ln_access_token: # LinkedIn Access Token | ||
description: "LinkedIn Access Token | Can be Generated at (https://www.linkedin.com/developers/tools/oauth/)" | ||
required: true | ||
embed_image: # Url of embed image | ||
description: "Url Of image to be used as a embed image on the post" | ||
required: false | ||
last_post_path: # Path to the file that stores the last post (Default: .github/.lastPost.txt) | ||
description: "Path to the file that stores the last post" | ||
default: ".github/.lastPost.txt" | ||
required: false | ||
commit_user: # Username of the commiter | ||
description: "Username of commit user" | ||
default: "Linkedin-Post-Action" | ||
required: false | ||
commit_email: # Email of the commiter | ||
description: "Email of commit user" | ||
default: "[email protected]" | ||
required: false | ||
commit_message: # Commit message | ||
description: "Commit message" | ||
default: "Update Last Post File" | ||
required: false | ||
runs: | ||
using: "node16" | ||
main: "dist/index.js" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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