ci: debug private key

This commit is contained in:
ooks-io 2025-01-19 22:09:23 +11:00
parent e0fc5903cd
commit 7f3ee1d335

View file

@ -18,16 +18,16 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Generate GitHub App Token - name: Generate GitHub App Token
id: generate-token id: app-token
uses: actions/create-github-app-token@v1 uses: actions/create-github-app-token@v1
with: with:
app-id: ${{ vars.APP_ID }} # Updated input name app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }} # Updated input name private-key: ${{ secrets.APP_PRIVATE_KEY }}
repositories: owner: ooks-io
- name: Setup Git Config - name: Setup Git Config
run: | run: |
git config --global url."https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/".insteadOf "git+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/"
- name: Setup Nix - name: Setup Nix
uses: DeterminateSystems/nix-installer-action@main uses: DeterminateSystems/nix-installer-action@main