"git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "96211c2cc8fc8e081eddb5111557d1d474b1446d"
Unverified Commit ee50497d authored by Frank Lee's avatar Frank Lee Committed by GitHub
Browse files

[ci] fixed nightly build workflow (#1029)

parent 9b0c0370
...@@ -61,7 +61,7 @@ jobs: ...@@ -61,7 +61,7 @@ jobs:
git_ref: ${{ github.event.inputs.github_ref }} git_ref: ${{ github.event.inputs.github_ref }}
- name: Build bdist wheel - name: Build bdist wheel
run: | run: |
pip install beautifulsoup4 requests pip install beautifulsoup4 requests packaging
python ./build_colossalai_wheel.py python ./build_colossalai_wheel.py
- name: 🚀 Deploy - name: 🚀 Deploy
uses: garygrossgarten/github-action-scp@release uses: garygrossgarten/github-action-scp@release
......
...@@ -70,12 +70,15 @@ jobs: ...@@ -70,12 +70,15 @@ jobs:
steps: steps:
- name: executing remote ssh commands using password - name: executing remote ssh commands using password
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
env:
BUILD_DIR: ${{ secrets.PRIVATE_PYPI_NIGHTLY_DIR }}
with: with:
host: ${{ secrets.PRIVATE_PYPI_HOST }} host: ${{ secrets.PRIVATE_PYPI_HOST }}
username: ${{ secrets.PRIVATE_PYPI_USER }} username: ${{ secrets.PRIVATE_PYPI_USER }}
password: ${{ secrets.PRIVATE_PYPI_PASSWD }} password: ${{ secrets.PRIVATE_PYPI_PASSWD }}
envs: BUILD_DIR
script: | script: |
cd $build_dir cd $BUILD_DIR
find . -type f -mtime +0 -exec rm -f {} + find . -type f -mtime +0 -exec rm -f {} +
env: script_stop: true
build_dir: ${{ secrets.PRIVATE_PYPI_NIGHTLY_DIR }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment