From b418a57227f0784c845b4c8a51a9eb1654a4fb4d Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Fri, 22 Mar 2024 20:55:11 +0000 Subject: [PATCH 1/2] fix --- .github/workflows/archive.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/archive.yml b/.github/workflows/archive.yml index e02c9c0d..8598e639 100644 --- a/.github/workflows/archive.yml +++ b/.github/workflows/archive.yml @@ -5,12 +5,17 @@ on: workflow_dispatch: jobs: archive: + - 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 "" --user_agent "my-unique-user-agent" --oldest - uses: JamieMagee/wayback@v2.1.0 + - uses: JamieMagee/wayback@v2.1.0 with: url: |- writing.natwelch.com natwelch.com + ${{ steps.posts.outputs.POSTS }} saveErrors: false saveOutlinks: true saveScreenshot: true From f60f4544acca606637d9da4aede8410f85ca072c Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Fri, 22 Mar 2024 20:55:31 +0000 Subject: [PATCH 2/2] fmt --- .github/workflows/archive.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/archive.yml b/.github/workflows/archive.yml index 8598e639..0bde81a6 100644 --- a/.github/workflows/archive.yml +++ b/.github/workflows/archive.yml @@ -5,17 +5,17 @@ on: workflow_dispatch: jobs: archive: - - 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 "" --user_agent "my-unique-user-agent" --oldest - - uses: JamieMagee/wayback@v2.1.0 - with: - url: |- - writing.natwelch.com - natwelch.com - ${{ steps.posts.outputs.POSTS }} - 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 "" --user_agent "my-unique-user-agent" --oldest + - uses: JamieMagee/wayback@v2.1.0 + with: + url: |- + writing.natwelch.com + natwelch.com + ${{ steps.posts.outputs.POSTS }} + saveErrors: false + saveOutlinks: true + saveScreenshot: true