Skip to content

Commit

Permalink
Get rid of gist stuff on delete-preview too
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Jan 24, 2022
1 parent e1f3ac3 commit 8da1f5e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/delete-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,3 @@ jobs:
with:
github_token: ${{ secrets.GH_PAT }}
branches: preview-${{ github.event.pull_request.number }}

- name: Delete gist
id: gist
run: |
echo ${{ secrets.GH_PAT }} > docker/git_token.txt
gist_key=${GITHUB_REPOSITORY}_spell_check_${{ github.event.pull_request.number }}
gist_url=$(Rscript --vanilla scripts/get_the_gist.R \
--git_pat docker/git_token.txt \
--gist_key $gist_key \
--file resources/spell_check_results.tsv \
--delete)
rm docker/git_token.txt

0 comments on commit 8da1f5e

Please sign in to comment.