use latest tag ughh

This commit is contained in:
olebeck 2022-10-30 17:49:54 +01:00
parent a4f6b48c86
commit 39f1448b1f
1 changed files with 5 additions and 5 deletions

View File

@ -42,17 +42,17 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: build
run: make -j dists updates
id: build
run: |
make -j dists updates
echo "::workflow-command tag=$(git describe --exclude 'r-*' --tags)"
- name: Deploy with rsync
run: rsync -avz ./public/ olebeck@${{ secrets.SSH_HOST }}:/var/www/updates/bedrocktool/
- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ steps.get-latest-tag.outputs.tag }}
automatic_release_tag: ${{ steps.build.outputs.tag }}
files: dist/*
prerelease: false