From 567eb6dc42436d53bbe25178f93cdd3d11fba679 Mon Sep 17 00:00:00 2001 From: Boyd Kane <33420535+beyarkay@users.noreply.github.com> Date: Wed, 6 Mar 2024 17:44:16 +0200 Subject: [PATCH] [hotfix] dpaste is down, use dummy link --- .github/workflows/publish-calendars.yaml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish-calendars.yaml b/.github/workflows/publish-calendars.yaml index 7db31c3..7a460b0 100644 --- a/.github/workflows/publish-calendars.yaml +++ b/.github/workflows/publish-calendars.yaml @@ -54,16 +54,21 @@ jobs: run: echo "LS_CALENDARS=$(ls calendars/* | xargs echo | sed 's/ /,/g')" >> $GITHUB_OUTPUT id: LS-CALENDARS - - name: POST machine_friendly.csv to dpaste.org + # - name: POST machine_friendly.csv to dpaste.org + # run: | + # head calendars/machine_friendly.csv + # cat calendars/machine_friendly.csv | curl -X POST -F "expires=31536000" -F 'format=url' -F 'content=<-' https://dpaste.org/api/ > pastebin.txt + # cat pastebin.txt + + # - name: Write pastebin link to GH variable + # run: | + # cat pastebin.txt + # echo "pastebin=$(cat pastebin.txt)/raw" >> $GITHUB_OUTPUT + # id: PASTEBIN + - name: Output dummy pastebin link for now run: | - head calendars/machine_friendly.csv - cat calendars/machine_friendly.csv | curl -X POST -F "expires=31536000" -F 'format=url' -F 'content=<-' https://dpaste.org/api/ > pastebin.txt cat pastebin.txt - - - name: Write pastebin link to GH variable - run: | - cat pastebin.txt - echo "pastebin=$(cat pastebin.txt)/raw" >> $GITHUB_OUTPUT + echo "pastebin=https://dpaste.org/asdf/raw" >> $GITHUB_OUTPUT id: PASTEBIN - name: Update latest release with new calendars