Skip to content

Commit 2dc3700

Browse files
authored
[docs] workflow 수정
1 parent 60b5da8 commit 2dc3700

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ jobs:
2424
run: |
2525
ssh ${{ secrets.EC2_USER }}@${{ secrets.EC2_HOST }} << 'EOF'
2626
set -e
27-
cd ${{ secrets.EC2_PATH }}
2827
29-
# Git pull or clone if not yet
30-
if [ ! -d ".git" ]; then
31-
git clone https://github.com/${{ github.repository }} .
32-
else
33-
git pull origin main
34-
fi
28+
for dir in http1 http2 http3; do
29+
cd /HTTP-Version-Test/docker/$dir/static
30+
# Git pull or clone if not yet
31+
if [ ! -d ".git" ]; then
32+
git clone https://github.com/${{ github.repository }} .
33+
else
34+
git pull origin main
35+
fi
36+
done
3537
EOF

0 commit comments

Comments
 (0)