Closed Rogibb111 closed 1 year ago
I believe the issue was because I had removed the deploy
job and just added the dokku github action as a step in the release
job. I am assuming it couldn't find the SSH secret key because the job didn't have Production environment label associated with it.
After adding a test workflow to deploy to my Oracle Cloud VM, I realized that the VM doesn't have enough memory and CPU power to actually do the Scala build for the application. I instead have created a new workflow specifically for the deploy. There I have added GitHub Action steps to use GitHub as the docker image builder, which will publish the image to GitHub's container registry. Then I have moved the Deploy job over to the deploy workflow which will run after the docker image is build and pushed.
:tada: This PR is included in version 1.1.11 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
The migration to Oracle cloud wasn't quite finished as the deploy action wasn't working correctly. This PR fixes the issue.