Skip to content

Commit

Permalink
build.yml Update for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
krzemienski committed Jan 11, 2024
1 parent 3f6edf4 commit 2678523
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 29 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: pip install json-spec
- name: run json validate
run: json validate --schema-file=.github/schema.json --document-file=contents.json
deploy-awesome-video:
gen-awesome-video:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
container:
Expand All @@ -48,7 +48,23 @@ jobs:
run: cp README.md docs/index.md
- name: run static site gen
run: mkdocs build
- name: deploy new README
run: ".github/deploy-readme.sh"
- name: deploy gh pages
run: ".github/deploy-ghpages.sh site"
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
24 changes: 0 additions & 24 deletions .github/workflows/deploy-gh-pages.yml

This file was deleted.

0 comments on commit 2678523

Please sign in to comment.