-
-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (30 loc) · 917 Bytes
/
sass-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_css:
runs-on: ubuntu-latest
steps:
- name: 🚀 Job triggered by a ${{ github.event_name }}.
run: echo "🚀 Job triggered by a ${{ github.event_name }}."
- name: 🛒 Checkout source Git branch
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 10
submodules: true
- name: 🚮 Remove sourcemapped CSS.
run: rm css -r
- name: 🪄 Make a new production CSS directory
run: mkdir css
- name: 🗜️ Compile CSS from SCSS files
uses: gha-utilities/sass-build@v0.5.1
with:
source: sass/idiots.scss
destination: css/idiots.css
- name: 🫠 This job's status is ${{ job.status }}.
run: echo "🫠 This job's status is ${{ job.status }}."