mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
👷 Github pages CI
This commit is contained in:
parent
e90ac78d6e
commit
69f12f2e95
3 changed files with 28 additions and 0 deletions
25
.github/workflows/docs.yml
vendored
Normal file
25
.github/workflows/docs.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: Enforce code style
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v2.3.1
|
||||
|
||||
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.5
|
||||
with:
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
folder: site # The folder the action should deploy.
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -104,3 +104,5 @@ dist
|
|||
.tern-port
|
||||
|
||||
testing/
|
||||
|
||||
site/
|
|
@ -3,6 +3,7 @@ node_modules/
|
|||
src/
|
||||
!template/src/
|
||||
docs/
|
||||
site/
|
||||
|
||||
.prettierrc.json
|
||||
melon.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue