Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive Workflow #597

Merged
merged 3 commits into from
Mar 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions .github/workflows/archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ on:
workflow_dispatch:
jobs:
archive:
# docker run -it --rm secsi/waybackpy --url "<target_url>" --user_agent "my-unique-user-agent" --oldest
uses: JamieMagee/[email protected]
with:
url: |-
writing.natwelch.com
natwelch.com
saveErrors: false
saveOutlinks: true
saveScreenshot: true
- name: Retrieve all posts
run: |
echo "POSTS=$(ls ./posts | sort -n | sed 's/.md$//g' | sed 's/^/writing.natwelch.com\/post\//')" >> $GITHUB_OUTPUT
id: posts
# docker run -it --rm secsi/waybackpy --url "<target_url>" --user_agent "my-unique-user-agent" --oldest
- uses: JamieMagee/[email protected]
with:
url: |-
writing.natwelch.com
natwelch.com
${{ steps.posts.outputs.POSTS }}
saveErrors: false
saveOutlinks: true
saveScreenshot: true
Loading