fix: change to github provided deploy action

This commit is contained in:
2024-03-31 13:37:27 +03:00
parent cc93d92b57
commit 5e43784f06

View File

@@ -5,17 +5,24 @@ on:
branches:
- main
jobs:
build_deploy_vue:
# Deploy job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
name: Build and Deploy Vue
steps:
- uses: actions/checkout@v4
- id: Build-Deploy-Vue
uses: Daniele-Tentoni/VuePagesAction@v1.0.8
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
gitemail: 'ivuorinen@users.noreply.github.com'
gitname: 'ivuorinen'
gitmsg: 'Deploy Vue App 🚀'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4