mirror of
https://github.com/ivuorinen/sysvinit-service-generator.git
synced 2026-01-26 03:24:03 +00:00
fix: change to github provided deploy action
This commit is contained in:
31
.github/workflows/deploy.yml
vendored
31
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user