made some updates in readme and k8s #5
This file contains 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-manifests | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'k8s/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: digitalocean/action-doctl@v2 | |
with: | |
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} | |
- run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr | |
- run: kubectl apply -f k8s/stateless && kubectl apply -f k8s/ingress/prod |