File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 22
33on :
44 push :
5- branches : [master]
5+ branches :
6+ - master
7+ - 1.3.x
68 pull_request :
79 branches :
810 - master
@@ -123,15 +125,15 @@ jobs:
123125 echo "${{ secrets.server_ssh_key }}" > ~/.ssh/id_rsa
124126 chmod 600 ~/.ssh/id_rsa
125127 echo "${{ secrets.server_ip }} ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE1Kkopomm7FHG5enATf7SgnpICZ4W2bw+Ho+afqin+w7sMcrsa0je7sbztFAV8YchDkiBKnWTG4cRT+KZgZCaY=" > ~/.ssh/known_hosts
126- if : github.event_name == 'push'
128+ if : ${{ github.event_name == 'push' && github.ref == 'refs/head/master'}}
127129
128130 - name : Upload web
129131 run : rsync -az --delete --exclude='pandas-docs' --exclude='docs' --exclude='Pandas_Cheat_Sheet*' web/build/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas
130- if : github.event_name == 'push'
132+ if : ${{ github.event_name == 'push' && github.ref == 'refs/head/master'}}
131133
132134 - name : Upload dev docs
133135 run : rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/dev
134- if : github.event_name == 'push'
136+ if : ${{ github.event_name == 'push' && github.ref == 'refs/head/master'}}
135137
136138 - name : Move docs into site directory
137139 run : mv doc/build/html web/build/docs
You can’t perform that action at this time.
0 commit comments