Skip to content

Commit

Permalink
Use GitHub app for token generation
Browse files Browse the repository at this point in the history
  • Loading branch information
thenerdassassin committed Oct 17, 2023
1 parent 87d87fe commit ffd288a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
with:
node-version-file: .nvmrc
cache: npm
- uses: opensea-public-docs-publisher
id: get_token
with:
app_id: 409633
private_key: ${{ secrets.PUBLIC_DOC_PUBLISHER_PRIVATE_KEY }}

- name: Install dependencies
run: npm install
Expand All @@ -33,7 +38,7 @@ jobs:
if: github.ref == 'refs/heads/main'
uses: nkoppel/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
API_TOKEN_GITHUB: ${{ steps.get_token.outputs.token }}
with:
source-files: "developerDocs/"
destination-username: "ProjectOpenSea"
Expand Down

0 comments on commit ffd288a

Please sign in to comment.