peter před 6 roky
rodič
revize
5bfbc43205
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2
    1
      .drone.yml

+ 2
- 1
.drone.yml Zobrazit soubor

61
 - name: deploy documentation
61
 - name: deploy documentation
62
   image: node:12
62
   image: node:12
63
   commands:
63
   commands:
64
-  - echo $DRONE_BUILD_CREATED
64
+  - echo ${DRONE_BUILD_CREATED}
65
   - git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
65
   - git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
66
   - git config --global user.name "${DRONE_COMMIT_AUTHOR}"
66
   - git config --global user.name "${DRONE_COMMIT_AUTHOR}"
67
   - git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
67
   - git clone https://gitea.frontblock.me/fw-docs/${DRONE_REPO_NAME}.git
68
+  - git checkout master
68
   - git rm -rf ./${DRONE_REPO_NAME}/*
69
   - git rm -rf ./${DRONE_REPO_NAME}/*
69
   - cp -r ./docs/* ./${DRONE_REPO_NAME}
70
   - cp -r ./docs/* ./${DRONE_REPO_NAME}
70
   - ls ./${DRONE_REPO_NAME}
71
   - ls ./${DRONE_REPO_NAME}

Načítá se…
Zrušit
Uložit