Skip to content
Snippets Groups Projects
Select Git revision
  • efccbd7a809b2976db294ba4ef95c2af7dc91961
  • main default protected
  • growscreen
3 results

.gitlab-ci.yml

Blame
  • .gitlab-ci.yml 500 B
    stages:
      - validate
      - deploy
    
    image:
      name: esphome/esphome:2022.11.3
      entrypoint: [""]
    
    validate_configs:
      stage: validate
      before_script:
        - cat "${SECRETS_YAML}" > "packages/secrets.yaml"
      script:
        - for yml in *.yaml; do esphome config ${yml} >/dev/null; done
      tags:
        - docker
    
    deploy_configs:
      stage: deploy
      before_script:
        - cat "${SECRETS_YAML}" > "packages/secrets.yaml"
      script:
        - cp -r *.yaml packages include /srv/esphome/groovy-industries
      tags:
        - shell