deviloric
/
piracy
Archived
3
0
Fork 0

Create archive.yml

This commit is contained in:
Maximous Black 2020-06-15 17:39:00 +05:30 committed by GitHub
parent 09e48bd328
commit 5f1cef0376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
.github/workflows/archive.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Archive website
on:
push:
branches:
- master
schedule:
- cron: "0 0 * * *"
jobs:
archive:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: python -m pip install wayback-machine-archiver
- name: Archive Website
run: archiver --sitemaps https://piracy.now.sh/sitemap.xml --log=INFO