wayback
wayback copied to clipboard
Save pages to the Wayback Machine as part of your CI/CD pipeline
Wayback Machine GitHub Action
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/[email protected]
with:
url: jamiemagee.co.uk
Advanced
name: Save my blog
uses: JamieMagee/[email protected]
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.