mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 03:14:40 -05:00
[RLEASE CI] add upload release binaries action
This commit is contained in:
29
.github/workflows/build.yml
vendored
29
.github/workflows/build.yml
vendored
@@ -66,19 +66,28 @@ jobs:
|
|||||||
|
|
||||||
- name: Create repo artifacts
|
- name: Create repo artifacts
|
||||||
if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
cd master
|
cd master
|
||||||
./.github/scripts/create-repo.sh
|
./.github/scripts/create-repo.sh
|
||||||
|
|
||||||
- name: Checkout repo branch
|
# - name: Checkout repo branch
|
||||||
if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
# if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
||||||
uses: actions/checkout@v2
|
# uses: actions/checkout@v2
|
||||||
with:
|
# with:
|
||||||
ref: repo
|
# ref: repo
|
||||||
path: repo
|
# path: repo
|
||||||
|
|
||||||
- name: Deploy repo
|
- name: Upload release binaries
|
||||||
if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
||||||
run: |
|
uses: alexellis/upload-assets@0.2.2
|
||||||
cd repo
|
env:
|
||||||
../master/.github/scripts/commit-repo.sh
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
with:
|
||||||
|
asset_paths: '["./repo/*"]'
|
||||||
|
|
||||||
|
# - name: Deploy repo
|
||||||
|
# if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
||||||
|
# run: |
|
||||||
|
# cd repo
|
||||||
|
# ../master/.github/scripts/commit-repo.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user