diff --git a/.gitea/workflows/main-build.yaml b/.gitea/workflows/main-build.yaml index ac67292..6488a4e 100644 --- a/.gitea/workflows/main-build.yaml +++ b/.gitea/workflows/main-build.yaml @@ -20,6 +20,6 @@ jobs: - name: Deploy run: | echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id - chmod 600 /tmp/id + chmod 600 ~/.ssh/id ssh-keyscan emin.software > ~/.ssh/known_hosts scp -oUser=${{secrets.SSH_USER}} -i ~/.ssh/id -r public/* emin.software:${{secrets.WEB_PATH}}