bookmarks icon #231
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 | |
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 }} |