Skip to content

Vue to Github Pages Daniele Tentoni

Actions
This Action will Build your Vue Project and deploy it to Github Pages
v1.0.8
Latest
Star (0)

Tags

 (1)

Build Vue and deploy it to Github Pages 🚀

This Action will Build your Vue Project and deploy it to Github Pages

Getting Started 🎉

  1. Create the vue.config.js file
  2. Add this to your vue.config.js (and rename "YourRepoName" to your repo name)
module.exports = {
    publicPath: '/YourRepoName/'
}
  1. Create a Github Actions Workflow file and add this to it (and replace "YourGithubName" and "YourRepoName" with the names)
name: Build Vue
on: [push]
jobs:
  build_vue:
    runs-on: ubuntu-latest
    name: Build Vue
    steps:
    - uses: actions/checkout@v2
    - id: Build-Vue
      uses: xRealNeon/[email protected]
      with:
        username: 'YourGithubName'
        reponame: 'YourRepoName'
        token: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
  1. Go to Settings -> Scroll down to GitHub Pages -> Select gh-pages as branch and / as directory

Options 🔧

Name Description Default Required
username Your username -
reponame Your repository name -
token Please leave this line unchanged -
branch Default branch name main
cname Custom domain -
gitemail Git commit email [email protected]
gitmsg Git commit message deploy
gitname Git commit name CI
useyarn Use yarn to build false

Vue to Github Pages Daniele Tentoni is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This Action will Build your Vue Project and deploy it to Github Pages
v1.0.8
Latest

Tags

 (1)

Vue to Github Pages Daniele Tentoni is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.