From 90f1d31d9ed1a824c8801104b9fce2ca7be28898 Mon Sep 17 00:00:00 2001
From: Athanasios Karmas <karmas@athenarc.gr>
Date: Fri, 16 Jul 2021 11:54:08 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8cb0adef..baf4e765 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,5 @@
 stages:
-  - prepare
+  - upload
   - deploy
 
 variables:
@@ -10,11 +10,11 @@ variables:
   OP: update
 
 copy-files-to-swift:
-  stage: prepare
+  stage: upload
   script:
-    - curl -H "X-Auth-Token: $OS_TOKEN" -X DELETE $OBJSTORE/ebrains-spack-builds.tar.gz
+    - curl -H \'X-Auth-Token: ${OS_TOKEN}\' -X DELETE ${OBJSTORE}/ ebrains-spack-builds.tar.gz
     - tar czf ebrains-spack-builds.tar.gz packages/ repo.yml spack.yaml
-    - curl -H "X-Auth-Token: $OS_TOKEN" -i $OBJSTORE/ -X PUT -T ebrains-spack-builds.tar.gz
+    - curl -H \'X-Auth-Token: ${OS_TOKEN}\' -i ${OBJSTORE}/ -X PUT -T ebrains-spack-builds.tar.gz
   tags:
     - shell-runner
 
-- 
GitLab