Skip to content

Commit

Permalink
Merge pull request #241 from zetxek/update/theme
Browse files Browse the repository at this point in the history
Update main workflow
  • Loading branch information
zetxek authored Dec 22, 2024
2 parents b500390 + de84490 commit 0eac80d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate-critical-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [main]
jobs:
build:
generate-critical-css:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ jobs:
- name: Build
run: hugo --minify --buildDrafts=true

- name: Run critical css
run: npm run critical-css
## Skipping in favour of the action generate-critical-css.yml
# - name: Run critical css
# run: npm run critical-css

- name: Commit critical css
uses: EndBug/add-and-commit@v7
with:
message: 'Update critical CSS'
add: 'assets/css/critical.css'
# - name: Commit critical css
# uses: EndBug/add-and-commit@v7
# with:
# message: 'Update critical CSS'
# add: 'assets/css/critical.css'

- name: Set up Python 3.8
uses: actions/setup-python@v5
Expand Down
Loading

1 comment on commit 0eac80d

@vercel
Copy link

@vercel vercel bot commented on 0eac80d Dec 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.