Skip to content

Commit

Permalink
updated gist-sync.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Mar 22, 2024
1 parent 75206df commit f28df6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gist-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
- uses: actions/checkout@v3
- name: Sync READMEs to Gists
run: |
gh auth login --with-token <<< "$GH_TOKEN"
for readme in *.md; do
if gh gist list -L 2000 --public | awk '{print $2}' | grep -Fxq "$readme"; then
id="$(gh gist list -L 2000 --public | awk "/^[[:alnum:]]{32}[[:space:]]+$readme / {print \$1; exit}")"
Expand Down

0 comments on commit f28df6c

Please sign in to comment.