Skip to content
clock

GitHub Action

Wayback Machine

v2.0.0 Latest version

Wayback Machine

clock

Wayback Machine

Action for submitting a website to the Wayback Machine

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Wayback Machine

uses: JamieMagee/wayback@v2.0.0

Learn more about this action in JamieMagee/wayback

Choose a version

Wayback Machine GitHub Action

GitHub marketplace GitHub Workflow Status GitHub release (latest SemVer) License

Save pages to the Wayback Machine as part of your CI/CD pipeline. If you find this useful, please donate to the Internet Archive.

Examples

Basic

name: Save my blog
uses: JamieMagee/wayback@v2.1.0
with:
  url: jamiemagee.co.uk

Advanced

name: Save my blog
uses: JamieMagee/wayback@v2.1.0
with:
  url: |-
    jamiemagee.co.uk
    katmagee.net
  saveErrors: false
  saveOutlinks: true
  saveScreenshot: true

Inputs

url

[Required] The web page to save to the Wayback Machine. Can include or exclude http://, https://, www., etc. Can be a single URL or a list of URLs.

saveErrors

If true, the Wayback Machine will save web pages that return an HTTP status code in the 4xx or 5xx range. Defaults to true.

saveOutlinks

If true, the Wayback Machine will save any links to external web pages. Defaults to false.

saveScreenshot

If true, the Wayback Machine will save a screenshot of the web page. Defaults to false.

Outputs

wayback_url

If the save attempt was successful, this parameter is set to the Wayback Machine URL. If the attempt failed, it is set to an empty string.

License

Code in this repository is licensed under the MIT license. Details can be found in the LICENSE file.