From 8553f79960321ec0740c503e4783bcd28dede8c1 Mon Sep 17 00:00:00 2001 From: Marcin Kralka Date: Fri, 5 Jan 2024 01:11:08 +0100 Subject: [PATCH] Update static.yml This should work. --- .github/workflows/static.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index d6bbbef..2ffcc3e 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -31,15 +31,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - - name: Make destination directory for compiled CSS - run: mkdir -vp /tmp/mlc/assets/source - name: Compile CSS from SCSS files uses: gha-utilities/sass-build@v0.5.1 with: source: source_scss/main.scss - destination: /tmp/mlc/assets/source/main.css + destination: source/style.css - name: Setup Pages uses: actions/configure-pages@v4 @@ -47,9 +44,8 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: | - './source' - '/tmp/mlc/assets/source' + # Upload entire repository + path: './source' - name: Deploy to GitHub Pages id: deployment