Explorar el Código

Add new file .gitlab-ci.yml

Guillermo Espinoza hace 6 años
padre
commit
109581df5c
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  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/NasBundle.git
+      - git checkout $CI_COMMIT_REF_NAME
+      - git push -u gogs $CI_COMMIT_REF_NAME --tags
+    only:
+      - pushes
+      - branches