Skip to content

Merge pull request #62 from iam-abin/dev #31

Merge pull request #62 from iam-abin/dev

Merge pull request #62 from iam-abin/dev #31

name: deploy-client
on:
push:
branches:
- master
paths:
- 'client/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: cd client && docker build -t abinv/client-devhive .
- run: docker push abinv/client-devhive
# # Commenting out Digital Ocean specific steps since we're not deploying there now
# - uses: digitalocean/action-doctl@v2
# with:
# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# - run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
# - run: kubectl rollout restart deployment client-app-depls