Merge pull request #913 from DOME-Marketplace/PRD/wallet-ui #779
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 sbx 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_SBX }} | |
- name: Deploy sbx applications | |
run: | | |
cd applications_sbx | |
# 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 {} \; |