test1
Deploy Frontend / deploy (push) Failing after 1m37s

This commit is contained in:
Qiu
2026-06-19 21:53:02 +08:00
parent fcf8ca817f
commit 5dc277f16a
+20 -7
View File
@@ -1,8 +1,21 @@
- name: Test Secret
run: |
if [ -z "${{ secrets.SSH_PRIVATE_KEY }}" ]; then
echo "SSH_PRIVATE_KEY is empty"
exit 1
fi
name: Deploy Frontend
echo "SSH_PRIVATE_KEY exists"
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test Secret
run: |
if [ -z "${{ secrets.SSH_PRIVATE_KEY }}" ]; then
echo "SSH_PRIVATE_KEY is empty"
exit 1
fi
echo "SSH_PRIVATE_KEY exists"