go-training / vue-gh-pages-demo

deploy Vue.js app to GitHub Pages using drone in five minutes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue.js Demo

Deploy Vue.js app to GitHub Pages using drone in five minutes.

Build Status

See the demo site.

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

Create your access token

New_personal_access_token

Deploy using Drone

---
kind: pipeline
name: testing

platform:
  os: linux
  arch: amd64

steps:
- name: release
  image: node:13
  commands:
  - yarn install
  - yarn build

- name: publish
  image: plugins/gh-pages
  settings:
    username:
      from_secret: username
    password:
      from_secret: password
    pages_directory: dist

Setup custom domain

custom_domain

About

deploy Vue.js app to GitHub Pages using drone in five minutes

License:MIT License


Languages

Language:Vue 72.7%Language:HTML 17.5%Language:JavaScript 9.7%