File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- master
7
+ - 1.3.x
7
8
pull_request :
8
9
branches :
9
10
- master
@@ -132,15 +133,15 @@ jobs:
132
133
echo "${{ secrets.server_ssh_key }}" > ~/.ssh/id_rsa
133
134
chmod 600 ~/.ssh/id_rsa
134
135
echo "${{ secrets.server_ip }} ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE1Kkopomm7FHG5enATf7SgnpICZ4W2bw+Ho+afqin+w7sMcrsa0je7sbztFAV8YchDkiBKnWTG4cRT+KZgZCaY=" > ~/.ssh/known_hosts
135
- if : github.event_name == 'push'
136
+ if : ${{ github.event_name == 'push' && github.ref == 'refs/head/master'}}
136
137
137
138
- name : Upload web
138
139
run : rsync -az --delete --exclude='pandas-docs' --exclude='docs' --exclude='Pandas_Cheat_Sheet*' web/build/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas
139
- if : github.event_name == 'push'
140
+ if : ${{ github.event_name == 'push' && github.ref == 'refs/head/master'}}
140
141
141
142
- name : Upload dev docs
142
143
run : rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/dev
143
- if : github.event_name == 'push'
144
+ if : ${{ github.event_name == 'push' && github.ref == 'refs/head/master'}}
144
145
145
146
- name : Move docs into site directory
146
147
run : mv doc/build/html web/build/docs
You can’t perform that action at this time.
0 commit comments