mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
master workflow
This commit is contained in:
parent
cd967e3c41
commit
c18bca92dd
3 changed files with 26 additions and 3 deletions
|
@ -4,7 +4,7 @@ on:
|
|||
branches:
|
||||
- development
|
||||
jobs:
|
||||
github-release:
|
||||
github-release-development:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
@ -13,7 +13,7 @@ jobs:
|
|||
- run: npm run build
|
||||
- uses: montudor/action-zip@v0.1.0
|
||||
with:
|
||||
args: zip -qq -r ./release.zip ./dist
|
||||
args: zip -qq -r ./release.zip ./vuetorrent
|
||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
23
.github/workflows/prod-deploy copy.yml
vendored
Normal file
23
.github/workflows/prod-deploy copy.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: Build & Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
github-release-production:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- uses: montudor/action-zip@v0.1.0
|
||||
with:
|
||||
args: zip -qq -r ./release.zip ./vuetorrent
|
||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "latest"
|
||||
prerelease: true
|
||||
title: "Stable Build"
|
||||
files: release.zip
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
outputDir: 'dist/public',
|
||||
outputDir: 'vuetorrent/public',
|
||||
publicPath: './',
|
||||
|
||||
devServer: {
|
||||
|
|
Loading…
Add table
Reference in a new issue