diff --git a/.drone.yml b/.drone.yml index 10cbb87..c470fcf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -174,61 +174,6 @@ steps: - rollback target: - prod -#================================= oem ========================== - # - name: upload to oem oss - # commands: - # - python3 /home/devops/python_script/aliyun/upload.py - # pull: never - # image: oss2:latest - # volumes: - # - name: files - # path: /files - # - name: scripts - # path: /scripts - # commands: - # - python3 /scripts/oss.py oem-${DRONE_REPO_NAME} backup - # - python3 /scripts/oss.py oem-${DRONE_REPO_NAME} upload - # when: - # event: - # - promote - # target: - # - oem - # - name: restore to oem oss - # pull: never - # image: oss2:latest - # volumes: - # - name: files - # path: /files - # - name: scripts - # path: /scripts - # commands: - # - python3 /scripts/oss.py oem-${DRONE_REPO_NAME} restore - # when: - # event: - # - rollback - # target: - # - oem - # - name: flush oem cdn - # pull: never - # image: oss2:latest - # volumes: - # - name: files - # path: /files - # - name: scripts - # path: /scripts - # commands: - # - sleep 3 - # - echo https://web.minimi.studio/ > /scripts/oem - # - echo https://www.sailner.web/ >> /scripts/oem - # - cd /scripts && python3 /scripts/refresh.py -r oem -t clear - # when: - # event: - # - promote - # target: - # - oem - - -#================================= sharewow3d ========================== volumes: - name: files host: