Skip to content

Commit 402c536

Browse files
DOC: Fix cheatsheet automatic uploading (#44083)
1 parent 1b240fe commit 402c536

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ jobs:
136136
echo "${{ secrets.server_ip }} ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE1Kkopomm7FHG5enATf7SgnpICZ4W2bw+Ho+afqin+w7sMcrsa0je7sbztFAV8YchDkiBKnWTG4cRT+KZgZCaY=" > ~/.ssh/known_hosts
137137
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}
138138

139+
- name: Copy cheatsheets into site directory
140+
run: cp doc/cheatsheet/Pandas_Cheat_Sheet* web/build/
141+
139142
- name: Upload web
140143
run: rsync -az --delete --exclude='pandas-docs' --exclude='docs' web/build/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas
141144
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}
@@ -147,9 +150,6 @@ jobs:
147150
- name: Move docs into site directory
148151
run: mv doc/build/html web/build/docs
149152

150-
- name: Copy cheatsheets into site directory
151-
run: cp doc/cheatsheet/Pandas_Cheat_Sheet* web/build/
152-
153153
- name: Save website as an artifact
154154
uses: actions/upload-artifact@v2
155155
with:

0 commit comments

Comments
 (0)