Merge pull request #10 from givxl33t/refactor/payments-go #9
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-manifests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'infra/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: digitalocean/action-doctl@v2 | |
with: | |
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} | |
- run: doctl kubernetes cluster kubeconfig save ticketing | |
- run: kubectl apply -f infra/k8s && kubectl apply -f infra/k8s-prod |