Create main.yml

This commit is contained in:
Lovro Govekar
2024-11-27 11:27:51 +01:00
committed by GitHub
parent 74b9802010
commit c29d41e5f2

17
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Build and Deploy Vue Application to Github Pages
on:
push:
branches:
-master
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: 'LovroG05'
reponame: 'website'
token: ${{ secrets.GITHUB_TOKEN }} # no need to change this line this is used to create the branch in your application repository