Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lchylik committed Feb 13, 2024
1 parent 6062029 commit a2c8dd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
name: Deploy static content to Pages

on:
push:
branches: ["master"]

workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -33,8 +16,11 @@ jobs:
- name: Install dependencies
run: pnpm i

- name: Run SCSS
run: npm run scss

- name: Build
run: pnpm build
run: astro check && astro build
if: success()

- name: List directory contents
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"dev": "astro dev",
"start": "pnpm run dev",
"build": "npm run scss && astro check && astro build",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro",
"scss": "sass src/styles/style.scss public/css/style.css",
Expand Down

0 comments on commit a2c8dd9

Please sign in to comment.