@@ -7,13 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: host
|
||||||
container:
|
|
||||||
image: docker.gitea.com/runner-images:ubuntu-latest
|
|
||||||
volumes:
|
|
||||||
- /opt/hugo/rpg.post-self.ink:/opt/hugo/rpg.post-self.ink
|
|
||||||
env:
|
|
||||||
DART_SASS_VERSION: 1.98.0
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
@@ -26,17 +20,6 @@ jobs:
|
|||||||
hugo-version: '0.157.0'
|
hugo-version: '0.157.0'
|
||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
- name: Install Dart Sass
|
|
||||||
run: |
|
|
||||||
curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \
|
|
||||||
&& tar -xf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \
|
|
||||||
&& cp -r dart-sass/* /usr/local/bin \
|
|
||||||
&& rm -rf dart-sass* \
|
|
||||||
&& sass --embedded --version
|
|
||||||
|
|
||||||
- name: Build site
|
- name: Build site
|
||||||
run: |
|
run: |
|
||||||
hugo build --gc --minify --baseURL https://rpg.post-self.ink --destination /opt/hugo/rpg.post-self.ink
|
hugo build --gc --minify --baseURL https://rpg.post-self.ink --destination /opt/hugo/rpg.post-self.ink
|
||||||
|
|
||||||
- name: Set permissions
|
|
||||||
run: chown -R www-data:www-data /opt/hugo/rpg.post-self.ink
|
|
||||||
|
|||||||
+1
-1
Submodule themes/maddybook updated: c847f9bdad...8526b8ba71
Reference in New Issue
Block a user