Unverified Commit 79470486 authored by Gao, Xiang's avatar Gao, Xiang Committed by GitHub
Browse files

Fix failure on forked repository (#414)

* try

* try

* try

* fix

* fix
parent e3c73684
......@@ -29,6 +29,7 @@ jobs:
pip install twine wheel
- name: Deploy
run: |
[ ! -z "$GITHUB_HEAD_REF" ] && exit
rm -rf dist/*
git tag $(date +'v%Y.%m.%d.%H.%M.%S')
python setup.py bdist bdist_wheel
......
......@@ -45,6 +45,7 @@ jobs:
git config --global user.name "zasdfgbnm-bot"
- name: Deploy
run: |
[ ! -z "$GITHUB_HEAD_REF" ] && exit
git clone git@github.com:aiqm/torchani-test-docs.git deploy_dir -b gh-pages
rm -rf deploy_dir/*
touch deploy_dir/.nojekyll
......
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