Skip to content

πŸ”— Linkrot: 1 fixes (#600) #13

πŸ”— Linkrot: 1 fixes (#600)

πŸ”— Linkrot: 1 fixes (#600) #13

Workflow file for this run

name: Archive all posts
on:
schedule:
- cron: 0 12 * * *
workflow_dispatch:
jobs:
archive:
- name: Retrieve all posts

Check failure on line 8 in .github/workflows/archive.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/archive.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
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