All Projects → xRealNeon → VuePagesAction

xRealNeon / VuePagesAction

Licence: MIT license
This Action will Build your Vue Project and deploy it to Github Pages

Projects that are alternatives of or similar to VuePagesAction

Architect
Architect is a Jekyll theme for GitHub Pages
Stars: ✭ 182 (+203.33%)
Mutual labels:  github-pages
Gatsby Gh Pages Action
GitHub Action to build and deploy your Gatsby site to GitHub Pages ❤️🎩
Stars: ✭ 208 (+246.67%)
Mutual labels:  github-pages
UltimateGitResource
📚 The ultimate collection of git commands and resources to power up your programming!
Stars: ✭ 388 (+546.67%)
Mutual labels:  github-pages
Gportfolio
Creating an automatic portfolio based on Github profile, with the ability to connect others
Stars: ✭ 186 (+210%)
Mutual labels:  github-pages
Slate
Slate is a Jekyll theme for GitHub Pages
Stars: ✭ 195 (+225%)
Mutual labels:  github-pages
Qiubaiying.github.io
BY Blog ->
Stars: ✭ 2,674 (+4356.67%)
Mutual labels:  github-pages
Oscailte
Oscailte — A powerful light, clean, and responsive Jekyll theme.
Stars: ✭ 178 (+196.67%)
Mutual labels:  github-pages
the-interesting-times
The Interesting Times Theme for Jekyll
Stars: ✭ 50 (-16.67%)
Mutual labels:  github-pages
Fastpages
An easy to use blogging platform, with enhanced support for Jupyter Notebooks.
Stars: ✭ 2,888 (+4713.33%)
Mutual labels:  github-pages
kakaoenterprise.github.io
Kakao Enterprise AI Research
Stars: ✭ 18 (-70%)
Mutual labels:  github-pages
Jekyll Remote Theme
Jekyll plugin for building Jekyll sites with any GitHub-hosted theme
Stars: ✭ 188 (+213.33%)
Mutual labels:  github-pages
Nsacyber.github.io
NSA Cybersecurity. Formerly known as NSA Information Assurance and the Information Assurance Directorate
Stars: ✭ 193 (+221.67%)
Mutual labels:  github-pages
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+291.67%)
Mutual labels:  github-pages
Fast template
A template for really easy blogging with GitHub Pages
Stars: ✭ 184 (+206.67%)
Mutual labels:  github-pages
sbt-ghpages
git, site and ghpages support for sbt projects.
Stars: ✭ 94 (+56.67%)
Mutual labels:  github-pages
Blog
a blog demo on github pages
Stars: ✭ 179 (+198.33%)
Mutual labels:  github-pages
Millennial
A minimalist Jekyll theme for running an online publication
Stars: ✭ 223 (+271.67%)
Mutual labels:  github-pages
jasper2
Full-featured Jekyll port of Ghost's default theme Casper v2 👻
Stars: ✭ 725 (+1108.33%)
Mutual labels:  github-pages
gh-themes-magick
GitHub Pages Themes Magick: https://tajmone.github.io/gh-themes-magick/
Stars: ✭ 29 (-51.67%)
Mutual labels:  github-pages
Just The Docs
A modern, high customizable, responsive Jekyll theme for documention with built-in search.
Stars: ✭ 3,747 (+6145%)
Mutual labels:  github-pages

Build Vue and deploy it to Github Pages 🚀

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

Getting Started 🎉

  • For Vue 2 : Create the vue.config.js file
  • For Vue 3 : You should have a vite.config.js or a vite.config.ts file at the root of your directory. Create one if you don't.
  • For Vue 2 : Add this to your vue.config.js (and rename "YourRepoName" to your repo name)
module.exports = {
    publicPath: '/YourRepoName/'
}
  • For Vue 3 : Add this to you vite.config.js or vite.config.ts (and rename "YourRepoName" to your repo name)
export default defineConfig({
  ... // Already existing configurations
  base: '/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 -
gitemail Git commit email [email protected]
gitname Git commit name CI
gitmsg Git commit message deploy
cname Custom domain -
useyarn Use yarn to build false
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].