File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
on :
4
4
push :
5
- branches : [master]
5
+ branches :
6
+ - master
7
+ - 1.3.x
6
8
pull_request :
7
9
branches :
8
10
- master
@@ -123,15 +125,15 @@ jobs:
123
125
echo "${{ secrets.server_ssh_key }}" > ~/.ssh/id_rsa
124
126
chmod 600 ~/.ssh/id_rsa
125
127
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'}}
127
129
128
130
- name : Upload web
129
131
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'}}
131
133
132
134
- name : Upload dev docs
133
135
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'}}
135
137
136
138
- name : Move docs into site directory
137
139
run : mv doc/build/html web/build/docs
You can’t perform that action at this time.
0 commit comments