-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3339f08
commit f6ba446
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|