fixed version
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
Chris 2023-10-26 11:17:53 +02:00
parent c0b4b08cbb
commit 7738472559

View File

@ -32,5 +32,5 @@ jobs:
echo ::set-output name=shortref::${SHORTREF} echo ::set-output name=shortref::${SHORTREF}
- name: Updating version - name: Updating version
run: | run: |
echo ${{ steps.prep.outputs.shortref }} | ssh -i ~/.ssh/staging.key -o StrictHostKeyChecking=no -p 22 -o UserKnownHostsFile=/dev/null ${{ secrets.SSH_WEBSERVER_IP }} > "/var/www/dogstats/web/version.txt" ssh -i ~/.ssh/staging.key -o StrictHostKeyChecking=no -p 22 -o UserKnownHostsFile=/dev/null ${{ secrets.SSH_WEBSERVER_IP }} "echo ${{ steps.prep.outputs.shortref }} > /var/www/dogstats/web/version.txt"