diff --git a/.github/workflows/auth.deployment.yaml b/.github/workflows/auth.deployment.yaml new file mode 100644 index 00000000..b1e5e3ba --- /dev/null +++ b/.github/workflows/auth.deployment.yaml @@ -0,0 +1,25 @@ +# name: deploy-auth + +# on: +# push: +# branches: +# - master +# paths: +# - 'auth/**' + +# 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 auth && docker build -t abinv/auth . +# - run: docker push abinv/auth +# - uses: digitalocean/action-doctl@v2 +# with: +# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} +# - run: doctl kubernetes cluster kubeconfig save elevate-cluster +# - run: kubectl rollout restart deployment auth-depl