mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-17 21:12:16 +01:00
github actions and gitignore
This commit is contained in:
parent
02b2e51145
commit
dc907ae4be
2 changed files with 25 additions and 1 deletions
23
.github/workflows/deploy-docs.yml
vendored
Normal file
23
.github/workflows/deploy-docs.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Build and Deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v2.3.1
|
||||
|
||||
- name: Install and Build 🔧
|
||||
run: |
|
||||
cd docs
|
||||
npm install
|
||||
./node_modules/.bin/vuepress build
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@4.0.0
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: docs/.vuepress/dist
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -5,4 +5,5 @@
|
|||
/build/
|
||||
node_modules/
|
||||
/.php_cs.cache
|
||||
.phpunit.result.cache
|
||||
.phpunit.result.cache
|
||||
/docs/.vuepress/dist
|
||||
Loading…
Add table
Reference in a new issue