diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index ed7a970..1c5f22e 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -17,24 +17,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Generate GitHub App Token - id: app-token - uses: actions/create-github-app-token@v1 + - name: Setup SSH + uses: webfactory/ssh-agent@v0.9.0 with: - app-id: ${{ vars.APP_ID }} - private-key: ${{ secrets.APP_PRIVATE_KEY }} - owner: ooks-io - repositories: kunzen + ssh-private-key: | + ${{ secrets.OOKNET_DEPLOY_KEY }} + ${{ secrets.KUNZEN_DEPLOY_KEY }} - - 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 uses: DeterminateSystems/nix-installer-action@main