diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 0f9fa83..3d1df76 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -12,14 +12,6 @@ jobs: container: image: code.forgejo.org/oci/debian:latest steps: - - name: Install SSH key - uses: https://github.com/shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_KEY }} - name: aria-coffee-deploy # optional - known_hosts: ${{ secrets.KNOWN_HOSTS }} - if_key_exists: fail - - name: Install pnpm uses: https://github.com/pnpm/action-setup@v4 with: @@ -31,6 +23,15 @@ jobs: node-version: 23.11.0 cache: 'pnpm' + - name: Install SSH key + uses: https://github.com/shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + name: aria-coffee-deploy # optional + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: fail + + - name: Checkout uses: actions/checkout@v4