Publish Docs to Central Repository #2
Workflow file for this run
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: Publish Docs to Central Repository | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy developer docs to repository | |
if: github.ref == 'refs/heads/main' | |
uses: nkoppel/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source-files: "docs/" | |
destination-username: "ProjectOpenSea" | |
destination-repository: "developer-docs" | |
destination-directory: "seaport" | |
destination-branch: "main" | |
commit-username: "ProjectOpenSea-seaport" | |
commit-message: "Latest docs from seaport" |