Compare commits

...

4 commits

Author SHA1 Message Date
thelittlerocket
c8767ed2c1
Update feeds.ts 2024-11-05 16:44:34 +08:00
thelittlerocket
1e8cb06408
Update feeds.ts 2024-11-05 16:04:28 +08:00
thelittlerocket
189f010de1
Update send-email.yaml 2024-11-05 13:05:39 +08:00
thelittlerocket
27fd44f8b5
Update send-email.yaml
install dependencies
2024-11-05 13:00:10 +08:00
2 changed files with 6 additions and 3 deletions

View file

@ -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 }}

View file

@ -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',
] ]