gha: rename workflow and add repo condition for boostlook.css update

This commit is contained in:
Julio Estrada
2024-11-14 12:28:07 -05:00
committed by Julio C. Estrada
parent 1f05284790
commit c58e2c230f

View File

@@ -1,4 +1,4 @@
name: Update boostlook.css in website-v2
name: Update boostlook.css in website-v2 repository
on:
push:
@@ -12,6 +12,7 @@ permissions:
jobs:
update-css:
runs-on: ubuntu-latest
if: github.repository == 'boostorg/boostlook'
steps:
- name: Checkout boostlook repository
uses: actions/checkout@v4
@@ -33,7 +34,7 @@ jobs:
- name: Copy boostlook.css to website-v2
run: |
cp boostlook.css website-v2/static/css/boostlook.css
cp -v boostlook.css website-v2/static/css/boostlook.css
- name: Install pre-commit
if: success()
@@ -45,7 +46,6 @@ jobs:
working-directory: website-v2
run: |
pre-commit run --files static/css/boostlook.css
continue-on-error: false
- name: Commit and push changes to a new branch
if: success()