chore: migrating repository and organization, commit with boundaries … #1
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: deploy comanda.stores to production environment | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - 'Boundaries/Comanda.Stores/**' | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: Boundaries/Comanda.Stores | |
| steps: | |
| - name: checkout code | |
| uses: actions/checkout@v4 | |
| - name: build docker image | |
| run: | | |
| docker build -t httpsrichardy/comanda.stores:latest . | |
| - name: login to docker hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: push docker image | |
| run: docker push httpsrichardy/comanda.stores:latest | |
| - name: deploy via easypanel webhook | |
| run: | | |
| curl -X POST ${{ secrets.STORES_PRODUCTION_DEPLOY_URL }} |