mirror of
https://github.com/ivuorinen/sysvinit-service-generator.git
synced 2026-03-12 23:02:44 +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:
|
branches:
|
||||||
- main
|
- main
|
||||||
jobs:
|
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
|
runs-on: ubuntu-latest
|
||||||
name: Build and Deploy Vue
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Deploy to GitHub Pages
|
||||||
- id: Build-Deploy-Vue
|
id: deployment
|
||||||
uses: Daniele-Tentoni/VuePagesAction@v1.0.8
|
uses: actions/deploy-pages@v4
|
||||||
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 🚀'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user