Using Github Actions to deploy and met platform error

Your bundle only supports platforms ["x64-mingw32"] but your local platforms are
["ruby", "x86_64-linux-musl"], and there's no compatible match between those two

Link to workflow file and action log?

I guess you are using windows in your build. Can you switch to ubuntu-latest

Also found a similar issue here

@printf You can fix this by adding the ruby platform to your Gemfile.lock, like this:

bundle lock --add-platform ruby

Then commit this change, and push, and your GitHub Action should work now.