You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check [blogpub-test](https://github.com/protiumx/blogpub-test) for more examples or my personal [blog](https://github.com/protiumx/blogpub-test) source
56
+
Check my personal [blog](https://github.com/protiumx/blog) source as example of usage
57
+
55
58
## Inputs
56
59
57
60
- `gh_token`: Github token. **Required**
@@ -98,7 +101,6 @@ The following arguments can be set:
98
101
-`tags`: `[string | string[]]` Comma separated tags or yaml list. Note: Medium allows up to 5 tags whereas Dev.to only 4.
99
102
-`license`: `[string]` Medium license type. Refer to [Medium API Docs](https://github.com/Medium/medium-api-docs#33-posts). **Default**: `public-domain`
100
103
-`published`: `[boolean]`. **Default**: `true`
101
-
-`cover_image`: `[string]` Dev.to cover image
102
104
103
105
## Template Support
104
106
@@ -119,9 +121,8 @@ This is only for Medium
119
121
120
122
## Relative Paths
121
123
122
-
To use any media contained in your repository you can use relative paths.
123
-
All relative paths will be resolved using the raw url of the markdown down file that
124
-
is being processed.
124
+
You can use relative paths to use any media files hosted in the same repository as the article files.
125
+
All relative paths will be resolved using the **github raw content** URL.
125
126
126
127
Example:
127
128
```
@@ -156,12 +157,9 @@ If you want to test the action locally you could clone `blogpub-test` and use
156
157
157
158
Please submit a PR with any contribution. Refer to the list of `TODO's` or open issues.
158
159
159
-
160
160
## TODO
161
161
162
162
-[x] Relative paths to github raw server
163
-
-[x] Support `cover_image` for dev.to API with relative path
0 commit comments