mirror of
https://github.com/Nezumi-2711/surCord.git
synced 2026-09-22 20:02:07 +00:00
31 lines
771 B
YAML
31 lines
771 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build_css:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout source Git branch
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Compile CSS from SCSS files
|
|
uses: gha-utilities/sass-build@v0.4.9
|
|
with:
|
|
source: src/_indexbd.scss
|
|
destination: src/source.css
|
|
|
|
- name: Add and Commit changes to build branch
|
|
run: |
|
|
git config --local user.email 'action@github.com'
|
|
git config --local user.name 'GitHub Action'
|
|
git add .
|
|
git commit -m '[GH:A] Build CSS'
|
|
- name: Push changes
|
|
uses: ad-m/github-push-action@master
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: ${{ github.ref }}
|