debugging workflow

This commit is contained in:
Silas Bartha 2025-03-15 17:53:10 -04:00
parent 649b825b7a
commit 729cdb094e
Signed by: soaos
GPG Key ID: 9BD3DCC0D56A09B2

View File

@ -12,10 +12,9 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: zola build - run: zola build
- name: Write SSH keys - name: Write SSH keys
run: | run: install -m 600 -D /dev/null ~/.ssh/id_ed25519
install -m 600 -D /dev/null ~/.ssh/id_ed25519 - run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 - run: ssh-keyscan -H soaos.dev > ~/.ssh/known_hosts
ssh-keyscan -H soaos.dev > ~/.ssh/known_hosts
- name: Copy built site to server - name: Copy built site to server
run: scp -sr public git@soaos.dev:/var/www/soaos.dev run: scp -sr public git@soaos.dev:/var/www/soaos.dev