mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Add deploy step
This commit is contained in:
parent
93fd1ba216
commit
4cea1cc3f2
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
@ -7,6 +7,9 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
release:
|
||||
types: [ created ]
|
||||
# types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -34,8 +37,26 @@ jobs:
|
|||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: FreqUI-dist
|
||||
name: FreqUI
|
||||
path: |
|
||||
dist
|
||||
!dist/**/*.map
|
||||
retention-days: 10
|
||||
|
||||
deploy:
|
||||
needs: [ build ]
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.event_name == 'release'
|
||||
steps:
|
||||
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: FreqUI
|
||||
path: ./
|
||||
|
||||
- name: Upload release binaries
|
||||
uses: alexellis/upload-assets@0.2.2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
with:
|
||||
asset_paths: '["FreqUI.zip"]'
|
||||
|
|
Loading…
Reference in New Issue
Block a user