Skip to content

Merge pull request #796 from DOME-Marketplace/PRD/update-in2-solution… #675

Merge pull request #796 from DOME-Marketplace/PRD/update-in2-solution…

Merge pull request #796 from DOME-Marketplace/PRD/update-in2-solution… #675

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 {} \;