Explorar o código

Add new file .gitlab-ci.yml

Guillermo Espinoza %!s(int64=6) %!d(string=hai) anos
pai
achega
8718622404
Modificáronse 1 ficheiros con 12 adicións e 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/HuaweiBundle.git
+      - git checkout $CI_COMMIT_REF_NAME
+      - git push -u gogs $CI_COMMIT_REF_NAME --tags
+    only:
+      - pushes
+      - branches