From b84cd746452c82804f4146a0d87acfc344cff994 Mon Sep 17 00:00:00 2001 From: Deepak Mallubhotla Date: Wed, 19 Mar 2025 18:08:34 -0500 Subject: [PATCH] installs ssh keys from secrets --- .gitea/workflows/nixtest.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/nixtest.yaml b/.gitea/workflows/nixtest.yaml index a91fdab..f85b0d6 100644 --- a/.gitea/workflows/nixtest.yaml +++ b/.gitea/workflows/nixtest.yaml @@ -14,6 +14,12 @@ jobs: - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code uses: actions/checkout@v4 + - name: Install SSH keys + uses: shimataro/ssh-key-actiond4fffb50872869abe2d9a9098a6d9c5aa7d16be4 + with: + key: ${{ secrets.SSH_GITEA_SSH_KEY }} + name: gitea_action + known_hosts: ${{ secrets.SSH_GITEA_KNOWN_HOSTS }} - name: List files in the repository run: | ls ${{ gitea.workspace }}