This repository has been archived by the owner on May 14, 2024. It is now read-only.
v3.0.6 #82
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: 'Update Docs' | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docs: | |
name: Update Docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install Packages | |
run: npm install | |
- name: Build Docs | |
run: npm run docs | |
- name: Deploy 🚢 | |
uses: cpina/github-action-push-to-another-repository@master | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source-directory: 'public' | |
destination-github-username: 'ldapjs' | |
destination-repository-name: 'ldapjs.github.io' | |
user-email: '[email protected]' | |
target-branch: 'gh-pages' |