name: Deploy image to server, build and run on: push: branches: [ master ] jobs: deploy: name: Build and run runs-on: self-hosted steps: - name: Check out the repo uses: actions/checkout@v4 - name: Run run: docker-compose up -d --build