- Consolidates SSH setup and deployment into a single step.
- Simplifies the deployment workflow by combining steps.
- Uses a more concise SSH command for deployment.
- Removes unnecessary SSH key agent initialization.
- Uses relative path `repo` in the deployment command.
- Initialize SSH agent forwarding to allow SSH key usage.
- This resolves issues with deploying to the server.
- Ensures the deployment process can access the SSH key.
- Renames the workflow from `CI` to `Deploy to Server`.
- Adds SSH key setup and deployment steps.
- Uses secrets for SSH key, host, user, and port.
- Pulls the latest changes from the origin master branch.
- Executes the build script after pulling changes.
- Adds a workflow to deploy to the server on master pushes.
- Uses secrets for SSH key, host, user, and port.
- Installs necessary dependencies within the workflow.
- Stashes local changes and pulls the latest changes via SSH.
- Executes the build script after pulling the latest changes.