-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2711 from fetchai/develop
a new release into main
- Loading branch information
Showing
1,463 changed files
with
19,973 additions
and
22,521 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"projects": { | ||
"default": "fetch-docs-preview" | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Documentation Preview | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
paths: | ||
- 'docs/**' | ||
|
||
jobs: | ||
build: | ||
name: Docs Ephemerial Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Use python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7' | ||
|
||
- name: Install Dependencies | ||
run: cd docs && pip3 install pipenv && pipenv install -d --skip-lock --python python3 | ||
|
||
- name: Build | ||
run: cd docs && pipenv run mkdocs build -f ../mkdocs.yml | ||
|
||
- name: Archive Production Artifact | ||
uses: actions/upload-artifact@master | ||
with: | ||
name: dist | ||
path: site | ||
|
||
|
||
deploy: | ||
name: Docs Ephemerial Deploy | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Download Artifact | ||
uses: actions/download-artifact@master | ||
with: | ||
name: dist | ||
path: site | ||
|
||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: "${{ secrets.GITHUB_TOKEN }}" | ||
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" | ||
expires: 2d | ||
projectId: fetch-docs-preview | ||
# entryPoint: docs/ |
Oops, something went wrong.