Archive GitHub Pages in the Wayback Machine #6
Workflow file for this run
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 Waystation workflow file. It is different from │ | |
# │ the sample workflow suggested for users. DO NOT COPY THIS FILE; │ | |
# │ instead, use the sample workflow file "sample-workflow.yml" from │ | |
# │ the repository at https://github.com/caltechlibrary/waystation/. │ | |
# ╰─────────────────── Notice ── Notice ── Notice ───────────────────╯ | |
name: Archive GitHub Pages | |
run-name: Archive GitHub Pages in the Wayback Machine | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
inputs: | |
dry_run: | |
description: Run without actually sending URLs | |
type: boolean | |
jobs: | |
run-waystation: | |
name: Run Waystation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: caltechlibrary/[email protected] | |
with: | |
dry_run: ${{github.event.inputs.dry_run || false}} | |
debug: true |