Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

.github/workflows/build.yaml #2

.github/workflows/build.yaml

.github/workflows/build.yaml #2

Workflow file for this run

on: workflow_dispatch
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/_index.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 }}