Skip to content

Commit

Permalink
Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AhoyLemon committed Feb 10, 2024
1 parent d073c32 commit f11f2f5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: [ AhoyLemon ]
custom: [ 'https://paypal.me/TheFPlus', 'https://venmo.com/u/TheFPlus' ]
38 changes: 38 additions & 0 deletions .github/workflows/sass-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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/site.scss
destination: css/site.css

- name: ๐Ÿซ  This job's status is ${{ job.status }}.
run: echo "๐Ÿซ  This job's status is ${{ job.status }}."

0 comments on commit f11f2f5

Please sign in to comment.