Skip to content

Commit

Permalink
update for gh action page deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
krzemienski committed Jan 22, 2024
1 parent 2678523 commit 3bfca06
Show file tree
Hide file tree
Showing 9 changed files with 100 additions and 133 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,34 +37,16 @@ jobs:
env:
DOCKER_PASSWORD:
DOCKER_USERNAME:
GH_TOKEN:
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
steps:
- uses: actions/checkout@v3.5.0
- 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
25 changes: 15 additions & 10 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion database.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/index.md
51 changes: 13 additions & 38 deletions site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@

<meta name="lang:search.tokenizer" content="[\s\-]+">

<link rel="shortcut icon" href="assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.0.4, mkdocs-material-4.0.2">
<link rel="shortcut icon" href="/assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.2.3, mkdocs-material-4.0.2">



<title>Awesome Video</title>



<link rel="stylesheet" href="assets/stylesheets/application.982221ab.css">
<link rel="stylesheet" href="/assets/stylesheets/application.982221ab.css">

<link rel="stylesheet" href="assets/stylesheets/application-palette.224b79ff.css">
<link rel="stylesheet" href="/assets/stylesheets/application-palette.224b79ff.css">



Expand All @@ -55,7 +55,7 @@



<script src="assets/javascripts/modernizr.1f0bcf2b.js"></script>
<script src="/assets/javascripts/modernizr.1f0bcf2b.js"></script>



Expand All @@ -64,38 +64,13 @@
<style>body,input{font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono","Courier New",Courier,monospace}</style>


<link rel="stylesheet" href="assets/fonts/material-icons.css">
<link rel="stylesheet" href="/assets/fonts/material-icons.css">


<link rel="stylesheet" href="css/extra.css">
<link rel="stylesheet" href="/css/extra.css">




<script>
window.ga = window.ga || function() {
(ga.q = ga.q || []).push(arguments)
}
ga.l = +new Date
/* Setup integration and send page view */
ga("create", "UA-154476193-1", "auto")
ga("set", "anonymizeIp", true)
ga("send", "pageview")
/* Register handler to log search on blur */
document.addEventListener("DOMContentLoaded", () => {
if (document.forms.search) {
var query = document.forms.search.query
query.addEventListener("blur", function() {
if (this.value) {
var path = document.location.pathname;
ga("send", "pageview", path + "?q=" + this.value)
}
})
}
})
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>



</head>
Expand Down Expand Up @@ -138,7 +113,7 @@
<nav class="md-header-nav md-grid">
<div class="md-flex">
<div class="md-flex__cell md-flex__cell--shrink">
<a href="https://awesome.video" title="Awesome Video" class="md-header-nav__button md-logo">
<a href="https://awesome.video/" title="Awesome Video" class="md-header-nav__button md-logo">

<i class="md-icon"></i>

Expand Down Expand Up @@ -228,7 +203,7 @@
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--primary" data-md-level="0">
<label class="md-nav__title md-nav__title--site" for="__drawer">
<a href="https://awesome.video" title="Awesome Video" class="md-nav__button md-logo">
<a href="https://awesome.video/" title="Awesome Video" class="md-nav__button md-logo">

<i class="md-icon"></i>

Expand Down Expand Up @@ -264,7 +239,7 @@


<li class="md-nav__item">
<a href="." title="From FFMPEG to playback, streaming video." class="md-nav__link">
<a href="/." title="From FFMPEG to playback, streaming video." class="md-nav__link">
From FFMPEG to playback, streaming video.
</a>
</li>
Expand Down Expand Up @@ -308,7 +283,7 @@ <h1>404 - Not found</h1>
</div>

<div class="md-footer-social">
<link rel="stylesheet" href="assets/fonts/font-awesome.css">
<link rel="stylesheet" href="/assets/fonts/font-awesome.css">

<a href="https://github.com/krzemienski" class="md-footer-social__link fa fa-github"></a>

Expand All @@ -324,9 +299,9 @@ <h1>404 - Not found</h1>

</div>

<script src="assets/javascripts/application.d9aa80ab.js"></script>
<script src="/assets/javascripts/application.d9aa80ab.js"></script>

<script>app.initialize({version:"1.0.4",url:{base:""}})</script>
<script>app.initialize({version:"1.2.3",url:{base:"/"}})</script>


</body>
Expand Down
Loading

0 comments on commit 3bfca06

Please sign in to comment.