feat: deploy action (#12)

This commit is contained in:
Ismo Vuorinen
2024-03-31 13:09:03 +03:00
committed by GitHub
parent 1a6ae16845
commit 0fe6f8563d
2 changed files with 25 additions and 0 deletions

22
.github/workflows/deploy.yml vendored Normal file
View 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
View File

@@ -0,0 +1,3 @@
module.exports = {
publicPath: '/sysvinit-service-generator/'
}