back to latest tag
This commit is contained in:
parent
e6236112f7
commit
e797457150
|
@ -1,6 +1,8 @@
|
|||
name: ci-build
|
||||
on:
|
||||
push
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -41,15 +43,17 @@ jobs:
|
|||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
|
||||
- name: build
|
||||
id: build
|
||||
run: make -j dists updates
|
||||
|
||||
- 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: r-${{ steps.build.outputs.tag }}
|
||||
automatic_release_tag: ${{ steps.get-latest-tag.outputs.tag }}
|
||||
files: dist/*
|
||||
prerelease: false
|
||||
|
|
Loading…
Reference in New Issue