master workflow

This commit is contained in:
Daan Wijns 2020-05-20 18:42:17 +02:00
parent cd967e3c41
commit c18bca92dd
3 changed files with 26 additions and 3 deletions

View file

@ -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
View 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

View file

@ -1,5 +1,5 @@
module.exports = {
outputDir: 'dist/public',
outputDir: 'vuetorrent/public',
publicPath: './',
devServer: {