forked from makidoll/tiktok-rss
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 871 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Deploy
on:
push:
paths:
- .github/workflows/deploy.yml
workflow_dispatch:
#schedule:
- cron: "* * * * *" # every hour at 0 minutes
jobs:
scheduled:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Setup deno
uses: denoland/setup-deno@main
with:
deno-version: v1.x
- name: Fetch data
run: deno run -A scrape.ts
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: deploy # lets not use gh pages because cdn
folder: public
single-commit: true
silent: true