ci: use ssh for check
This commit is contained in:
parent
dee0d03fad
commit
9f296a42cd
1 changed files with 5 additions and 16 deletions
21
.github/workflows/check.yaml
vendored
21
.github/workflows/check.yaml
vendored
|
|
@ -17,24 +17,13 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Generate GitHub App Token
|
- name: Setup SSH
|
||||||
id: app-token
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
uses: actions/create-github-app-token@v1
|
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.APP_ID }}
|
ssh-private-key: |
|
||||||
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
${{ secrets.OOKNET_DEPLOY_KEY }}
|
||||||
owner: ooks-io
|
${{ secrets.KUNZEN_DEPLOY_KEY }}
|
||||||
repositories: kunzen
|
|
||||||
|
|
||||||
- name: Setup Git Config
|
|
||||||
run: |
|
|
||||||
git config --global url."https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/".insteadOf "git@github.com:"
|
|
||||||
git config --global url."https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/".insteadOf "ssh://git@github.com/"
|
|
||||||
git config --global url."https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/".insteadOf "git+ssh://git@github.com/"
|
|
||||||
|
|
||||||
git config --global --list
|
|
||||||
|
|
||||||
git ls-remote https://github.com/ooks-io/kunzen.git
|
|
||||||
- name: Setup Nix
|
- name: Setup Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue