Skip to content

Commit

Permalink
Reverting:
Browse files Browse the repository at this point in the history
- [GitHub Actions] Restart the `dstack-stgn` Space
  • Loading branch information
peterschmidt85 committed Aug 13, 2023
1 parent 0fadba2 commit 1f233d3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,18 @@ jobs:
VERSION=$((${{ github.run_number }} + 150))
echo $VERSION | aws s3 cp - s3://get-dstack/stgn-cli/latest-version --acl public-read
restart-hf-space-master:
runs-on: ubuntu-latest
needs:
- update-get-dstack-master
env:
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
steps:
- name: Restart the `dstack-stgn` Space
run: |
pip install huggingface_hub
python -c "from huggingface_hub import HfApi; hf_api = HfApi(); hf_api.pause_space('dstackai/dstack-stgn'); hf_api.restart_space('dstackai/dstack-stgn');"
runner-test-master:
defaults:
run:
Expand Down

0 comments on commit 1f233d3

Please sign in to comment.