Skip to content

Commit 2606dc9

Browse files
committed
Fixed GitHub Actions build 2.1
1 parent cc33cfb commit 2606dc9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
5151
- name: Build with Hugo
5252
env:
53-
# For maximum backward compatibility with Hugo modules
5453
HUGO_ENVIRONMENT: production
5554
HUGO_ENV: production
5655
run: |
@@ -64,12 +63,13 @@ jobs:
6463

6564
# Deployment job
6665
deploy:
67-
environment:
68-
name: github-pages
69-
url: ${{ steps.deployment.outputs.page_url }}
7066
runs-on: ubuntu-latest
7167
needs: build
7268
steps:
7369
- name: Deploy to GitHub Pages
7470
id: deployment
75-
uses: actions/deploy-pages@v2
71+
uses: actions/deploy-pages@v2
72+
73+
environment:
74+
name: github-pages
75+
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)