Skip to content

Commit cf370d6

Browse files
authored
Update docs.yml
1 parent 084808e commit cf370d6

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,8 @@ jobs:
2121
container: fastai/fastai
2222
steps:
2323
- uses: actions/checkout@v2
24-
- uses: fastai/workflows/conda-env@master
25-
- name: Create docs
26-
env:
27-
JEKYLL_ENV: 'production'
28-
SSH_KEY: ${{ secrets.DH_KEY }}
29-
run: |
30-
cp -r docs_src docs
31-
nbdev_build_docs
32-
cd docs
33-
bundle i
34-
bundle exec jekyll build --strict_front_matter
35-
echo "$SSH_KEY" > ~/.ssh/id_rsa
36-
chmod 400 ~/.ssh/id_rsa
37-
rsync -az _site/ [email protected]:fastcore.fast.ai/
24+
- uses: fastai/workflows/build-docs@master
25+
with:
26+
username: jeremyphoward
27+
hostname: ps625762.dreamhostps.com
28+
dest_path: fastcore.fast.ai

0 commit comments

Comments
 (0)