use latest tag ughh
This commit is contained in:
parent
a4f6b48c86
commit
39f1448b1f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue