Explorar el Código

Updated wercker s3 step

Torkel Ödegaard hace 11 años
padre
commit
02f4eb53dd
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      wercker.yml

+ 3 - 3
wercker.yml

@@ -39,14 +39,14 @@ build:
     - script:
         name: create packages
         code: |
-          mkdir $WERCKER_SOURCE_DIR/dist
-          touch $WERCKER_SOURCE_DIR/dist/my_file.txt
+          mkdir $WERCKER_OUTPUT_DIR/dist
+          touch $WERCKER_OUTPUT_DIR/dist/my_file.txt
 
     - s3sync:
         key-id: $AWS_S3_KEY
         key-secret: $AWS_S3_SECRET
         bucket-url: $AWS_S3_BUCKET
-        source-dir: $WERCKER_SOURCE_DIR/dist/
+        source-dir: $WERCKER_OUTPUT_DIR/dist/
         delete-removed: false
 deploy:
   steps: