Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
This should work.
  • Loading branch information
Matriks404 authored Jan 5, 2024
1 parent e18387d commit 8553f79
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,21 @@ 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

- 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
Expand Down

0 comments on commit 8553f79

Please sign in to comment.