Merge pull request #113 from MajekDev/dependabot/maven/net.essentials… #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs-site | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 14.x | |
cache: npm | |
cache-dependency-path: docs/package-lock.json | |
- name: Build website | |
working-directory: docs | |
run: | | |
npm ci | |
npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
clean-exclude: | | |
javadoc | |
folder: docs/build |