Update workflow
Deploy / deploy (push) Successful in 4s

This commit is contained in:
Madison Rye Progress
2026-08-29 16:00:10 -07:00
parent ab6fc67802
commit a8fa189334
+1 -18
View File
@@ -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/qoheleth.post-self.ink:/opt/hugo/qoheleth.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://qoheleth.post-self.ink --destination /opt/hugo/qoheleth.post-self.ink hugo build --gc --minify --baseURL https://qoheleth.post-self.ink --destination /opt/hugo/qoheleth.post-self.ink
- name: Set permissions
run: chown -R www-data:www-data /opt/hugo/qoheleth.post-self.ink