Add makePlayerMove API call for player dice rolls #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker build and deploy to docker hub | |
| on: | |
| push: | |
| branches: [ "docker" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKER_LOGIN }} | |
| password: ${{ secrets.DOCKER_TOKEN }} | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build and push | |
| uses: docker/build-push-action@v6 | |
| with: | |
| push: true | |
| tags: olegsvs/monopoly-frontend-2025 | |
| call-deploy-to-server1: | |
| needs: build | |
| uses: ./.github/workflows/deploy_to_server.yml | |
| secrets: | |
| host: ${{ secrets.HOST_SERVER1 }} | |
| username: ${{ secrets.USERNAME_SERVER1 }} | |
| password: ${{ secrets.PASSWORD_SERVER1 }} | |
| port: ${{ secrets.PORT_SERVER1 }} | |
| call-deploy-to-server2: | |
| needs: build | |
| uses: ./.github/workflows/deploy_to_server.yml | |
| secrets: | |
| host: ${{ secrets.HOST_SERVER2 }} | |
| username: ${{ secrets.USERNAME_SERVER2 }} | |
| password: ${{ secrets.PASSWORD_SERVER2 }} | |
| port: ${{ secrets.PORT_SERVER2 }} |