diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index a727f38..342fb10 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -7,13 +7,7 @@ on: jobs: deploy: - runs-on: ubuntu-latest - 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 + runs-on: host steps: - name: Check out repo uses: actions/checkout@v6 @@ -26,17 +20,6 @@ jobs: hugo-version: '0.157.0' 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 run: | 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