mirror of
https://github.com/ivuorinen/sysvinit-service-generator.git
synced 2026-01-26 03:24:03 +00:00
feat: deploy action (#12)
This commit is contained in:
22
.github/workflows/deploy.yml
vendored
Normal file
22
.github/workflows/deploy.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: Build and Deploy Vue Application to Github Pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build_deploy_vue:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build and Deploy Vue
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- id: Build-Deploy-Vue
|
||||
uses: thefrustrateddev/vue-deploy-github-pages@v1.0.0
|
||||
with:
|
||||
username: 'ivuorinen'
|
||||
reponame: 'sysvinit-service-generator'
|
||||
token: ${{ secrets.GITHUB_TOKEN }} # no need to change this line this is used to create the branch in your application repository
|
||||
basebranchname: 'main'
|
||||
email: 'ivuorinen@users.noreply.github.com'
|
||||
name: 'ivuorinen'
|
||||
commitmessage: 'Deploy Vue App 🚀'
|
||||
3
vue.config.js
Normal file
3
vue.config.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
publicPath: '/sysvinit-service-generator/'
|
||||
}
|
||||
Reference in New Issue
Block a user