https://github.com/eval/actions
Light, sound áaand action! 🏎️
https://github.com/eval/actions
github-actions polar
Last synced: 11 months ago
JSON representation
Light, sound áaand action! 🏎️
- Host: GitHub
- URL: https://github.com/eval/actions
- Owner: eval
- License: mit
- Created: 2024-02-13T10:10:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T15:08:40.000Z (over 1 year ago)
- Last Synced: 2025-04-09T06:12:36.242Z (12 months ago)
- Topics: github-actions, polar
- Language: Clojure
- Homepage:
- Size: 56.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# actions
Collection of handy GitHub actions.
## Usage
### [Polar](https://polar.sh/): strip paywall
When publishing articles with paywalled snippets (as benefit for paying subscribers), this action will remove them after X days since publication.
``` yaml
jobs:
PolarStripPaywalls:
timeout-minutes: 15
runs-on: ubuntu-22.04
steps:
- name: StripIt
uses: eval/actions/polar-strip-paywall@main
with:
org: your-org
days-since-publish: 7
env:
POLAR_API_TOKEN: ${{ secrets.POLAR_API_TOKEN }}
```
See also this [dogfooding workflow](https://github.com/eval/actions/blob/main/.github/workflows/polar-strip-paywall.yml).
See [CLI documentation](./polar-strip-paywall/README.md).
[Sponsor me](https://polar.sh/eval/subscriptions) if this action provided value 🙏🏻
### [Polar](https://polar.sh/): tag posts
Inserts tags and lists articles by tag. [Example](https://polar.sh/eval/posts/articles-by-tag):

#### Usage
1. Tag a post
Insert `` in a post.
**NOTE**: Make sure to use double quotes even when having one tag.
1. Create a post listing all tags
...insert `` and publish.
1. Run the following job
``` yaml
jobs:
PolarTags:
timeout-minutes: 15
runs-on: ubuntu-22.04
steps:
- name: Update tag-snippets
uses: eval/actions/polar-tags@main
with:
org-slug: your-org
org-id: the-polar-uuid
env:
POLAR_API_TOKEN: ${{ secrets.POLAR_API_TOKEN }}
```
See also this [dogfooding workflow](https://github.com/eval/actions/blob/main/.github/workflows/polar-tags.yml).
See [CLI documentation](./polar-tags/README.md).
[Sponsor me](https://polar.sh/eval/subscriptions) if this action provided value 🙏🏻