Files
esp-mqtt/.gitlab/ci/deploy.yml
T
Euripedes Rocha Filho 5b1f57f690 ci: Removes deployment of docs and component
Release of documents and component should be done manually until we
introduce the automation properly.

ci: Solve the warnings on docs_build

ci: Adopts the old strategy to push to github
2025-09-26 14:16:20 +02:00

20 lines
524 B
YAML

push_master_to_github:
stage: deploy
image: ${CI_DOCKER_REGISTRY}/esp32-ci-env
tags:
- build
only:
refs:
- master
- idf
when: on_success
variables:
GIT_STRATEGY: clone
script:
- curl -sSL ${CIT_LOADER_URL} | sh
- source citools/import_functions
- cit_add_ssh_key "${GH_PUSH_KEY}"
- git remote remove github || true
- git remote add github ${GH_PUSH_REPO}
- git push github HEAD:${CI_COMMIT_REF_NAME}