Sfoglia il codice sorgente

Add new file .gitlab-ci.yml

Guillermo Espinoza 6 anni fa
parent
commit
188c90c945
1 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 12 0
      .gitlab-ci.yml

+ 12 - 0
.gitlab-ci.yml

@@ -0,0 +1,12 @@
+build_branch:
+    image: docker.infra.flowdat.com/fd3/sf-php:latest
+    script:
+      - chmod 0600 keys/*
+      - eval $(ssh-agent); ssh-add keys/gogs.drone.id_rsa
+      - git fetch --tags
+      - git remote add gogs ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/ZteBundle.git
+      - git checkout $CI_COMMIT_REF_NAME
+      - git push -u gogs $CI_COMMIT_REF_NAME --tags
+    only:
+      - pushes
+      - branches