diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 521f21c..59835d3 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -25,18 +25,18 @@ jobs: fetch-depth: 0 - name: Set up ssh key folder run: | - mkdir -p ~/.ssh + mkdir -p $HOME/.ssh - name: Write ssh key id: sshkey uses: https://github.com/timheuer/base64-to-file@v1 with: encodedString: "${{ secrets.SSH_USER }}" fileName: id_ed25519 - fileDir: ~/.ssh + fileDir: $HOME/.ssh - name: Make id_ed25519 user only run: | - ls -la ~/.ssh - chmod 600 ~/.ssh/id_ed25519 + ls -la $HOME/.ssh + chmod 600 $HOME/.ssh/id_ed25519 - uses: https://github.com/cachix/cachix-action@v15 if: ${{ !github.event.pull_request.head.repo.fork }} with: