-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (43 loc) · 1.07 KB
/
ci.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CI
on:
push:
branches: [ main ]
paths:
- '.github/**/*.yml'
pull_request:
branches: [ main ]
paths:
- '.github/**/*.yml'
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
main:
name: Crawl
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Re-download
run: |
rm -rf steen.free.fr
wget \
--execute="robots = off" \
--mirror \
--convert-links \
--no-parent \
--wait=1 \
--accept "htm,html,css,js" \
http://steen.free.fr/interslavic || true
- name: Stage
run: git add -A
- name: Commit & Push changes
uses: github-actions-x/commit@v2.9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
files: steen.free.fr
commit-message: 'chore: website sync [skip ci]'
push-branch: 'main'
name: 'github-actions[bot]'
email: 'github-actions[bot]@users.noreply.github.com'