Skip to content

Commit

Permalink
[hotfix] dpaste is down, use dummy link
Browse files Browse the repository at this point in the history
  • Loading branch information
beyarkay authored Mar 6, 2024
1 parent dc49b7e commit 567eb6d
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/publish-calendars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 567eb6d

Please sign in to comment.