Github Action not working, just stack in somewhere

Dear all,
Does my code workflow in yml below is correct for deploying into vps ?

name: Deployment Workflow
on:
  push:
    branches: [ main ]

jobs:
  job_one:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
    - name: testing myweb.com ssh connection
      uses: appleboy/ssh-action@master
      with:
        host: myweb.com
        username: root
        key: ${{ secrets.MYWEB_SECRET }}
        port: 22
        script: |
          cd /var/www/myweb.com
          git pull origin main
          mix deps.get --only prod
          export SECRET_KEY_BASE=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          export DATABASE_URL=ecto://postgres:password@localhost:5432/myweb_prod
          MIX_ENV=prod mix compile
          MIX_ENV=prod mix assets.deploy
          MIX_ENV=prod mix ecto.migrate
          MIX_ENV=prod mix release --overwrite
          _build/prod/rel/myweb/bin/myweb stop
          _build/prod/rel/myweb/bin/myweb daemon

SECRET_KEY_BASE i get in my server app when i try make generate that

Before push into my github to deploy into my server i make some steps below :
I try type in my server _build/prod/rel/myweb/bin/myweb start but showing error like below :
07:28:24.954 [info] Configuration :server was not enabled for MyappWeb.Endpoint, http/https services won't start

Why those appear?