mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 22:59:27 +00:00
add cache.yml
This commit is contained in:
parent
8d763d25bf
commit
6c42373bd7
2 changed files with 42 additions and 3 deletions
39
.github/workflows/cache.yml
vendored
Normal file
39
.github/workflows/cache.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Forces `gupax.io` to cache stuff every hour.
|
||||
|
||||
name: Cache `gupax.io`
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 * * * *"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Cache
|
||||
run: |
|
||||
wget \
|
||||
--wait=1 \
|
||||
--random-wait \
|
||||
-e robots=off \
|
||||
--header='Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' \
|
||||
--header='Accept-Encoding: identity' \
|
||||
--header='Accept-Language: en-US,en;q=0.5' \
|
||||
--header='Connection: keep-alive' \
|
||||
--header='Host: gupax.io' \
|
||||
--header='Sec-Fetch-Dest: document' \
|
||||
--header='Sec-Fetch-Mode: navigate' \
|
||||
--header='Sec-Fetch-Site: same-origin' \
|
||||
--header='Sec-Fetch-User: ?1' \
|
||||
--header='TE: trailers' \
|
||||
--header='Upgrade-Insecure-Requests: 1' \
|
||||
--header='User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0' \
|
||||
--recursive \
|
||||
--page-requisites \
|
||||
--html-extension \
|
||||
--convert-links \
|
||||
--no-parent \
|
||||
--show-progress \
|
||||
--tries=0 \
|
||||
--domains "gupax.io" \
|
||||
"https://gupax.io"
|
6
.github/workflows/download.yml
vendored
6
.github/workflows/download.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
# Attempt downloading all files from `gupax.io`
|
||||
# and verifies the SHA256SUMS & PGP signature.
|
||||
# Attempts to download all files from `gupax.io`
|
||||
# and verify the SHA256SUMS & PGP signature.
|
||||
|
||||
name: gupax.io
|
||||
name: Download & Verify `gupax.io`
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 2 * * *"
|
||||
|
|
Loading…
Reference in a new issue