Skip to content

Commit a3614d0

Browse files
committed
Attempt to solve ssh key issues
1 parent 19dcaf6 commit a3614d0

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/push.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,19 @@ jobs:
223223
uses: actions/checkout@v3
224224
with:
225225
fetch-depth: 0
226+
- uses: actions/checkout@v3
227+
with:
228+
repository: iluuu1994/php-benchmark-data
229+
ssh-key: ${{ secrets.BENCHMARK_DATA_DEPLOY_KEY }}
230+
path: benchmark/repos/data
231+
- uses: actions/checkout@v3
232+
with:
233+
repository: iluuu1994/symfony-demo-2.2.3
234+
path: benchmark/repos/symfony-demo-2.2.3
235+
- uses: actions/checkout@v3
236+
with:
237+
repository: iluuu1994/wordpress-6.2
238+
path: benchmark/repos/wordpress-6.2
226239
- name: apt
227240
run: |
228241
set -x
@@ -263,15 +276,10 @@ jobs:
263276
run: make -j$(/usr/bin/nproc) >/dev/null
264277
- name: make install
265278
uses: ./.github/actions/install-linux
266-
- name: Prepare SSH key
279+
- name: Setup
267280
run: |
268-
mkdir -p ~/.ssh
269-
echo "${{ secrets.BENCHMARK_DATA_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
270-
chmod 600 ~/.ssh/id_ed25519
271281
git config --global user.name "Benchmark"
272282
git config --global user.email "benchmark@php.net"
273-
- name: Setup
274-
run: |
275283
sudo service mysql start
276284
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS wordpress"
277285
mysql -uroot -proot -e "CREATE USER 'wordpress'@'localhost' IDENTIFIED BY 'wordpress'; FLUSH PRIVILEGES;"

0 commit comments

Comments
 (0)