Skip to content

Commit

Permalink
chore(workflow): clean up hugo build process
Browse files Browse the repository at this point in the history
removed tailwind css build step and simplified hugo command. added environment variable for production directly in the hugo command.
  • Loading branch information
Vheissu committed Dec 15, 2024
1 parent b36340d commit 4c283b9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ jobs:
- name: Install Node.js dependencies
run: npm ci

- name: Build Tailwind CSS
run: npm run build:tw

# New steps for Aurelia 2 build
- name: Clean Aurelia 2 directory
run: |
Expand All @@ -76,8 +73,7 @@ jobs:
HUGO_ENVIRONMENT: production
run: |
hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}"
--environment production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 4c283b9

Please sign in to comment.