Laughing-Man-Studios / Ski-Resort-Dashboard

A small dashboard to display some statistics about the local ski resorts I visit
MIT License
0 stars 0 forks source link

[Issue 69] Fixing Migration To Oracle Cloud #71

Closed Rogibb111 closed 1 year ago

Rogibb111 commented 1 year ago

The migration to Oracle cloud wasn't quite finished as the deploy action wasn't working correctly. This PR fixes the issue.

Rogibb111 commented 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.

Rogibb111 commented 1 year ago

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.

Rogibb111 commented 1 year ago

:tada: This PR is included in version 1.1.11 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: