diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 1ee33a7..06c41aa 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -74,7 +74,7 @@ jobs: - name: Deploy to Staging run: | - mkdir ~/.ssh + mkdir -p ~/.ssh ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa @@ -123,9 +123,9 @@ jobs: strip target/$CARGO_TARGET/release/rot cd frontend && npm install && npm run build - - name: Deploy to Main + - name: Deploy to production run: | - mkdir ~/.ssh + mkdir -p ~/.ssh ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa