Skip to content

Commit

Permalink
updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Nov 6, 2023
1 parent 61864c9 commit e3d2478
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/sitegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'

- name: Install dependencies
run: python3 -m pip install -r ./requirements.txt
Expand All @@ -39,11 +39,11 @@ jobs:
run: pelican content

- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: 'output'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v2
14 changes: 13 additions & 1 deletion pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,25 @@
# -*- coding: utf-8 -*- #
import datetime

import pelican.themes.webosbrew
from pelican.plugins import webassets
from webassets.cache import MemoryCache

AUTHOR = 'webosbrew.org'
SITENAME = 'webOS Homebrew Project'
SITEURL = ''
SOURCEURL = 'https://github.com/webosbrew/webosbrew.github.io/blob/main/content'

THEME = 'webosbrew'
WEBASSETS_SOURCE_PATHS = ['static']
THEME_STATIC_PATHS = [pelican.themes.webosbrew.static_dir()]
WEBASSETS_SOURCE_PATHS = [pelican.themes.webosbrew.scss_dir()]

PLUGINS = [webassets]

WEBASSETS_CONFIG = [
("CACHE", MemoryCache(1024)),
("PYSCSS_LOAD_PATHS", [pelican.themes.webosbrew.scss_dir()]),
]

PATH = 'content'

Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pelican~=4.7
pelican-webassets~=2.0.0
markdown~=3.3.6
pelican~=4.8
pelican-webassets~=2.0
markdown~=3.5.1
ghp-import~=2.0
webassets~=2.0
pyscss~=1.3.7
cssmin~=0.2.0
livereload~=2.6.3
invoke~=1.6.0
invoke~=2.2.0
git+https://github.com/Kronuz/pyScss.git@73559d047706ccd4593cf6aa092de71f35164723#egg=pyscss
git+https://github.com/webosbrew/[email protected]#egg=pelican-theme-webosbrew

0 comments on commit e3d2478

Please sign in to comment.