Skip to content

Commit 76cec8b

Browse files
committed
Test 11
1 parent fe48a53 commit 76cec8b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/deploy.yml

-10
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,6 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- name: Checkout code
12-
uses: actions/checkout@v2
13-
14-
- name: Debug Secret
15-
run: |
16-
echo "EC2_SSH_KEY is set: ${{ secrets.AWS_INSTANCE_SSH_PRIVATE_KEY != '' }}"
17-
echo "KNOWN_HOSTS is set: ${{ secrets.KNOWN_HOSTS != '' }}"
18-
echo "AWS_INSTANCE_IP is set: ${{ secrets.AWS_INSTANCE_IP != '' }}"
19-
2011
- name: Install SSH key
2112
uses: shimataro/ssh-key-action@v2
2213
with:
@@ -32,7 +23,6 @@ jobs:
3223
sudo chown -R ec2-user:ec2-user /opt/albertclo.com &&
3324
cd /opt/albertclo.com &&
3425
if [ ! -d .git ]; then git clone https://github.com/AlbertClo/albertclo.com.git . ; fi &&
35-
cat 777
3626
git config --global --add safe.directory /opt/albertclo.com &&
3727
git remote set-url origin https://github.com/AlbertClo/albertclo.com.git &&
3828
git add -A && git reset HEAD --hard &&

0 commit comments

Comments
 (0)