Skip to content

Commit

Permalink
relocate to src
Browse files Browse the repository at this point in the history
  • Loading branch information
ericrobskyhuntley committed Feb 26, 2024
1 parent 910d2df commit 15c1a44
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- name: Compile CSS from SCSS files
uses: gha-utilities/sass-build@v0.5.1
with:
source: ./sass/styles.scss
destination: ./css/styles.css
source: src/sass/styles.scss
destination: src/css/styles.css
# with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.0.1",
"scripts": {
"css-build": "node-sass --omit-source-map-url sass/styles.scss css/styles.css",
"css-build": "node-sass --omit-source-map-url src/sass/styles.scss src/css/styles.css",
"css-watch": "npm run css-build -- --watch",
"dev": "npm run css-build & astro dev & npm run css-watch",
"start": "npm run css-build & astro dev & npm run css-watch",
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const navItems = [
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="src/css/styles.css">
<meta name="generator" content={Astro.generator} />
<title>{name}</title>
</head>
Expand Down
File renamed without changes.

0 comments on commit 15c1a44

Please sign in to comment.