mirror of
https://github.com/thelittlerocket/rss-to-email.git
synced 2024-12-25 19:32:15 +08:00
Compare commits
4 commits
95c7d3eab7
...
c8767ed2c1
Author | SHA1 | Date | |
---|---|---|---|
|
c8767ed2c1 | ||
|
1e8cb06408 | ||
|
189f010de1 | ||
|
27fd44f8b5 |
2 changed files with 6 additions and 3 deletions
5
.github/workflows/send-email.yaml
vendored
5
.github/workflows/send-email.yaml
vendored
|
@ -25,9 +25,12 @@ jobs:
|
||||||
run: echo "LAST_SUCCESS=$(gh api -XGET repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/actions/workflows/send-email.yaml/runs --jq '.workflow_runs[0].run_started_at' -F status=success -F per_page=1)" >> $GITHUB_OUTPUT
|
run: echo "LAST_SUCCESS=$(gh api -XGET repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/actions/workflows/send-email.yaml/runs --jq '.workflow_runs[0].run_started_at' -F status=success -F per_page=1)" >> $GITHUB_OUTPUT
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install dayjs rss-parser
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
|
||||||
- name: Create email
|
- name: Create email
|
||||||
run: npm run email actionUrl=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} lastSuccess=${{ steps.last_success.outputs.LAST_SUCCESS }}
|
run: npm run email actionUrl=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} lastSuccess=${{ steps.last_success.outputs.LAST_SUCCESS }}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
export const feeds = [
|
export const feeds = [
|
||||||
// LET Offers
|
// LET Offers
|
||||||
'https://www.lowendtalk.com/categories/offers.rss',
|
'https://lowendtalk.com/categories/offers/feed.rss',
|
||||||
|
|
||||||
// LET Domains
|
// LET Domains
|
||||||
'https://www.lowendtalk.com/categories/domains.rss',
|
// 'https://www.lowendtalk.com/categories/domains.rss',
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue