diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index f2f4961..d6691cb 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -36,7 +36,7 @@ jobs: deploy: needs: [build] - if: ${{ github.event_name == 'push' }} +# if: ${{ github.event_name == 'push' }} runs-on: ubuntu-latest steps: - name: 🛠️ Setup build directory @@ -47,3 +47,14 @@ jobs: with: name: build path: build/blog + - name: 🔐 Create Key File + run: | + mkdir ~/.ssh + touch ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + - name: 🔑 Populate Key + run: echo "${{ secrets.PRIVATE_SSH_KEY }}" > ~/.ssh/id_rsa + - run: | + tree + ll ~/.ssh + cat ~/.ssh/id_rsa