-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update for gh action page deploy test
- Loading branch information
1 parent
2678523
commit 3bfca06
Showing
9 changed files
with
100 additions
and
133 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 |
---|---|---|
|
@@ -37,34 +37,16 @@ jobs: | |
env: | ||
DOCKER_PASSWORD: | ||
DOCKER_USERNAME: | ||
GH_TOKEN: | ||
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: run README.md gen | ||
run: ruby .github/convert.rb | ||
- name: run database.json gen | ||
run: node .github/upgradeDb.js | ||
- name: run copy readme to docs for site gen | ||
run: cp README.md docs/index.md | ||
run: make site_link | ||
- name: run static site gen | ||
run: mkdocs build | ||
deploy-pages: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout main | ||
uses: actions/checkout@v2 | ||
- name: Deploy docs | ||
uses: mhausenblas/mkdocs-deploy-gh-pages@master | ||
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme | ||
needs: | ||
- awesomebot | ||
- json-validate | ||
- gen-awesome-video | ||
env: | ||
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} | ||
CUSTOM_DOMAIN: awesome.video | ||
CONFIG_FILE: mkdocs.yml | ||
EXTRA_PACKAGES: build-base | ||
# GITHUB_DOMAIN: github.myenterprise.com | ||
REQUIREMENTS: requirements.txt | ||
run: make site_build | ||
- name: run static site deploy | ||
run: make site_deploy |
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
/Users/nick/Desktop/awesome-video/README.md |
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
Oops, something went wrong.