Send GitHub Pages to the Wayback Machine #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ╭─────────────────── 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}} |