Skip to content

Commit f262aa5

Browse files
committed
Add repo checkout to _push_docs.yml
1 parent 2cdd018 commit f262aa5

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

.github/workflows/_push_docs.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,87 @@ jobs:
66
runs-on: ubuntu-latest
77

88
steps:
9+
- name: Avoid git conflicts when tag and branch pushed at same time
10+
if: github.ref_type == 'tag'
11+
run: sleep 60
12+
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
# Need this to get version number from last tag
17+
fetch-depth: 0
18+
19+
- name: Avoid git conflicts when tag and branch pushed at same time
20+
if: github.ref_type == 'tag'
21+
run: sleep 60
22+
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
with:
26+
# Need this to get version number from last tag
27+
fetch-depth: 0
28+
29+
- name: Avoid git conflicts when tag and branch pushed at same time
30+
if: github.ref_type == 'tag'
31+
run: sleep 60
32+
33+
- name: Checkout
34+
uses: actions/checkout@v4
35+
with:
36+
# Need this to get version number from last tag
37+
fetch-depth: 0
38+
39+
- name: Avoid git conflicts when tag and branch pushed at same time
40+
if: github.ref_type == 'tag'
41+
run: sleep 60
42+
43+
- name: Checkout
44+
uses: actions/checkout@v4
45+
with:
46+
# Need this to get version number from last tag
47+
fetch-depth: 0
48+
49+
- name: Avoid git conflicts when tag and branch pushed at same time
50+
if: github.ref_type == 'tag'
51+
run: sleep 60
52+
53+
- name: Checkout
54+
uses: actions/checkout@v4
55+
with:
56+
# Need this to get version number from last tag
57+
fetch-depth: 0
58+
59+
- name: Avoid git conflicts when tag and branch pushed at same time
60+
if: github.ref_type == 'tag'
61+
run: sleep 60
62+
63+
- name: Checkout
64+
uses: actions/checkout@v4
65+
with:
66+
# Need this to get version number from last tag
67+
fetch-depth: 0
68+
69+
- name: Avoid git conflicts when tag and branch pushed at same time
70+
if: github.ref_type == 'tag'
71+
run: sleep 60
72+
73+
- name: Checkout
74+
uses: actions/checkout@v4
75+
with:
76+
# Need this to get version number from last tag
77+
fetch-depth: 0
78+
79+
- name: Avoid git conflicts when tag and branch pushed at same time
80+
if: github.ref_type == 'tag'
81+
run: sleep 60
82+
83+
- name: Checkout
84+
uses: actions/checkout@v4
85+
with:
86+
# Need this to get version number from last tag
87+
fetch-depth: 0
88+
89+
990
- name: Download built docs artifact
1091
uses: actions/download-artifact@v4
1192
with:

0 commit comments

Comments
 (0)