Skip to content

Send GitHub Pages to the Wayback Machine #1

Send GitHub Pages to the Wayback Machine

Send GitHub Pages to the Wayback Machine #1

# ╭─────────────────── Notice ── Notice ── Notice ───────────────────╮
# │ This is a custom Baler workflow file. It is different from the │
# │ sample workflow suggested for users because it is designed to │
# │ allow testing Baler. DO NOT COPY THIS FILE; instead, use the │
# │ sample workflow file named "sample-workflow.yml" from the Baler │
# │ source repository at https://github.com/caltechlibrary/baler/. │
# ╰─────────────────── Notice ── Notice ── Notice ───────────────────╯
name: Archive GitHub Pages
run-name: Send GitHub Pages to the Wayback Machine
on:
workflow_dispatch:
inputs:
debug:
default: true
dry_run:
default: true
save_errors:
default: true
save_outlinks:
default: true
save_screenshots:
default: true
jobs:
Workflow:
name: Waystation
runs-on: ubuntu-latest
steps:
- uses: caltechlibrary/waystation@develop
with:
debug: ${{github.event.inputs.debug || true}}
dry_run: ${{github.event.inputs.dry_run || true}}
save_errors: ${{github.event.inputs.save_errors || false}}
save_outlinks: ${{github.event.inputs.save_outlinks || false}}
save_screenshot: ${{github.event.inputs.save_screenshot || false}}