Fix: attempt to get runners working

This commit is contained in:
Pieter Vander Vennet 2024-12-06 13:04:16 +01:00
parent 221c13679a
commit 4a6efe8bfb

View file

@ -51,7 +51,7 @@ jobs:
- name: Upload artefact - name: Upload artefact
run: | run: |
ssh hetzner "mkdir /root/staging/${{ github.ref_name }}" ssh hetzner "mkdir /root/staging/${{ github.ref_name }}"
scp hetzner:/root/staging/${{ github.ref_name }} scp -r dist/* hetzner:/root/staging/${{ github.ref_name }}/
ssh hetzner "rm -rf /root/public/${{ github.ref_name }} && mv /root/staging/${{ github.ref_name }}/ /root/public/" ssh hetzner "rm -rf /root/public/${{ github.ref_name }} && mv /root/staging/${{ github.ref_name }}/ /root/public/"