Skip to content

Commit

Permalink
Change deployment workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tmolitor-stud-tu committed Jul 24, 2024
1 parent 7ce2230 commit 2553bc7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/buildSite.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test site build
name: Build site

# Controls when the workflow will run
on:
Expand All @@ -25,4 +25,19 @@ jobs:
extended: true

- name: Build site
run: hugo --minify --baseURL https://monal-im.github.io/monal-im.org/
run: hugo --enableGitInfo --minify --gc --logLevel info --baseURL https://monal-im.org

- name: Publish to github pages
run: |
tar \
--dereference --hard-dereference \
--directory "public" \
-cvf "$RUNNER_TEMP/master_public.tar" \
--exclude=.git \
--exclude=.github \
git reset --hard
git checkout gh-pages
cp "$RUNNER_TEMP/master_public.tar" "master_public.tar"
git add -u
git commit -m "Add new master_public.tar"
git push
2 changes: 2 additions & 0 deletions .github/workflows/publishGithubPages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
destination_dir: site
keep_files: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ For local rendering;
4. Open the shown link

Pre-rendered preview of staging branch ;
* [https://monal-im.github.io/monal-im.org/](https://monal-im.github.io/monal-im.org/)
* [https://monal-im.github.io/monal-im.org/site/](https://monal-im.github.io/monal-im.org/site/)

<p align="right">(<a href="#top">back to top</a>)</p>

Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-PaperMod
Submodule hugo-PaperMod updated 70 files
+1 −1 .github/ISSUE_TEMPLATE/bug_report.md
+1 −1 .github/ISSUE_TEMPLATE/config.yml
+7 −0 .github/ISSUE_TEMPLATE/new-blank-issue.md
+0 −7 .github/ISSUE_TEMPLATE/proposal.md
+17 −0 .github/stale.yml
+10 −7 .github/workflows/gh-pages.yml
+1 −1 LICENSE
+19 −29 README.md
+5 −3 assets/css/common/main.css
+4 −8 assets/css/common/post-entry.css
+24 −28 assets/css/common/post-single.css
+4 −5 assets/css/common/profile-mode.css
+2 −2 assets/css/core/license.css
+0 −2 assets/css/core/reset.css
+2 −2 assets/css/core/theme-vars.css
+0 −6 assets/css/core/zmedia.css
+63 −0 assets/css/hljs/an-old-hope.min.css
+0 −24 assets/css/includes/chroma-mod.css
+0 −86 assets/css/includes/chroma-styles.css
+2 −2 assets/css/includes/scroll-bar.css
+1 −6 assets/js/fastsearch.js
+3 −3 assets/js/fuse.basic.min.js
+44 −0 assets/js/highlight.min.js
+2 −2 assets/js/license.js
+2 −8 i18n/ar.yaml
+0 −39 i18n/be.yaml
+0 −5 i18n/bn.yaml
+0 −33 i18n/cs.yaml
+0 −33 i18n/el.yaml
+2 −2 i18n/fr.yaml
+5 −19 i18n/he.yaml
+0 −33 i18n/hr.yaml
+3 −9 i18n/it.yaml
+2 −2 i18n/ja.yaml
+0 −33 i18n/no.yaml
+0 −33 i18n/oc.yaml
+0 −33 i18n/pa.yaml
+2 −7 i18n/pl.yaml
+0 −33 i18n/pnb.yaml
+0 −12 i18n/pt.yaml
+0 −33 i18n/ro.yaml
+0 −33 i18n/sk.yaml
+0 −33 i18n/sw.yaml
+0 −33 i18n/th.yaml
+2 −10 i18n/tr.yaml
+1 −9 i18n/vi.yaml
+6 −40 layouts/_default/archives.html
+0 −4 layouts/_default/baseof.html
+5 −14 layouts/_default/list.html
+27 −60 layouts/_default/rss.xml
+1 −1 layouts/_default/search.html
+4 −11 layouts/_default/single.html
+1 −1 layouts/partials/breadcrumbs.html
+6 −9 layouts/partials/cover.html
+1 −1 layouts/partials/edit_post.html
+4 −13 layouts/partials/footer.html
+18 −5 layouts/partials/head.html
+3 −1 layouts/partials/header.html
+1 −1 layouts/partials/home_info.html
+14 −1 layouts/partials/index_profile.html
+5 −3 layouts/partials/post_meta.html
+45 −69 layouts/partials/share_icons.html
+3 −4 layouts/partials/social_icons.html
+122 −413 layouts/partials/svg.html
+0 −47 layouts/partials/templates/_funcs/get-page-images.html
+13 −20 layouts/partials/templates/opengraph.html
+3 −8 layouts/partials/templates/schema_json.html
+19 −24 layouts/partials/templates/twitter_cards.html
+2 −2 layouts/partials/toc.html
+1 −1 theme.toml

0 comments on commit 2553bc7

Please sign in to comment.