Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptopapi997 authored Dec 6, 2023
1 parent 3339f08 commit f6ba446
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/vkey.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ jobs:
- uses: actions/checkout@v2
with:
persist-credentials: false
- id: create_token
uses: tibdex/github-app-token@v2
with:
# use the private key and app id secret that we created in the Github App section
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://${{ secrets.GH_SECRET }}@github.com/".insteadOf
https://github.com/
# Fix our git override using the generated token from the create_token step + use the "x-access-token".
run: |
git config --global url."https://x-access-token:${{ steps.create_token.outputs.token }}@github.com".insteadOf ssh://[email protected]
- name: Fetch and compare vkeys
run: |
sh ./vkey.sh send_quadra temp2/send_quadra
Expand Down

0 comments on commit f6ba446

Please sign in to comment.