Skip to content

chore(deps): update dependency eslint-plugin-prettier to v5.0.1 #1499

chore(deps): update dependency eslint-plugin-prettier to v5.0.1

chore(deps): update dependency eslint-plugin-prettier to v5.0.1 #1499

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
pull_request:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: npm install
- name: Build docs
run: npm run docs-build
- name: Deploy 🚀
if: github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: docs
- name: Copy developer docs to repository
if: github.ref == 'refs/heads/main'
uses: nkoppel/push-files-to-another-repository@v1.1.1
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-files: "developerDocs/"
destination-username: "ProjectOpenSea"
destination-repository: "developer-docs"
destination-directory: "opensea-js"
destination-branch: "main"
commit-username: "ProjectOpenSea-opensea-js"
commit-message: "Latest docs from opensea-js"