version tag
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:18:29 +02:00
parent 7738472559
commit 916d5c4ac4

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: |
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" ssh -i ~/.ssh/staging.key -o StrictHostKeyChecking=no -p 22 -o UserKnownHostsFile=/dev/null ${{ secrets.SSH_WEBSERVER_IP }} "echo v${{ steps.prep.outputs.shortref }} > /var/www/dogstats/web/version.txt"