Merge pull request #910 from DOME-Marketplace/PRD/update-wallet #784
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 to the dev environment | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v1 | |
- uses: tale/kubectl-action@v1 | |
with: | |
base64-kube-config: ${{ secrets.KUBE_CONFIG_DEV }} | |
- name: Deploy dev applications | |
run: | | |
cd applications_dev | |
# apply all apps in the apps folder | |
find . -name '*.yaml' -exec kubectl apply -f {} \; | |
# label them for better filter machanism | |
find . -name '*.yaml' -exec kubectl label deployed-by=fiware-gitops-ci --overwrite -f {} \; |