Maybe you like this yaml syntax better? #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: scss/jerking.scss | |
destination: css/jerking.css | |
- name: ๐ซ This job's status is ${{ job.status }}. | |
run: echo "๐ซ This job's status is ${{ job.status }}." |