Skip to content

Commit

Permalink
Merge pull request #364 from holaplex/dev
Browse files Browse the repository at this point in the history
Release refactors and updated doc triggers.
  • Loading branch information
ray-kast authored Apr 12, 2022
2 parents 8778f1c + 624fe75 commit 62bd616
Show file tree
Hide file tree
Showing 29 changed files with 779 additions and 477 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/dispatch_to_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,23 @@ name: Send event to rebuild docs

on:
push:
branches: [dev, master]
branches: [master]

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch event to docs repo
uses: peter-evans/repository-dispatch@v2
with:
- name: Wait for prod deploy to succeed
uses: lewagon/[email protected]
with:
ref: master
check-name: GraphQL server
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 20
- name: Dispatch event to docs repo
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.DOCS_REPO_ACCESS_TOKEN }}
repository: holaplex/marketplace-api-docs
event-type: api_update
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/target
.env.local
.DS_Store
.DS_Store
Loading

0 comments on commit 62bd616

Please sign in to comment.