Skip to content

chore: migrating repository and organization, commit with boundaries … #1

chore: migrating repository and organization, commit with boundaries …

chore: migrating repository and organization, commit with boundaries … #1

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 }}