Skip to content

Commit

Permalink
fix(workflow): trying to solve these issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Vheissu committed Dec 15, 2024
1 parent 764dcd2 commit b36340d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.128.0
HUGO_VERSION: 0.139.4
steps:
- name: Install Hugo CLI
run: |
Expand All @@ -46,8 +46,17 @@ jobs:
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'

- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
run: npm ci

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

# New steps for Aurelia 2 build
- name: Clean Aurelia 2 directory
Expand Down Expand Up @@ -77,7 +86,7 @@ jobs:
# Deployment job
deploy:
environment:
name: production
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
Expand Down

0 comments on commit b36340d

Please sign in to comment.