We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc33cfb commit 2606dc9Copy full SHA for 2606dc9
1 file changed
.github/workflows/hugo.yml
@@ -50,7 +50,6 @@ jobs:
50
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
51
- name: Build with Hugo
52
env:
53
- # For maximum backward compatibility with Hugo modules
54
HUGO_ENVIRONMENT: production
55
HUGO_ENV: production
56
run: |
@@ -64,12 +63,13 @@ jobs:
64
63
65
# Deployment job
66
deploy:
67
- environment:
68
- name: github-pages
69
- url: ${{ steps.deployment.outputs.page_url }}
70
runs-on: ubuntu-latest
71
needs: build
72
steps:
73
- name: Deploy to GitHub Pages
74
id: deployment
75
- uses: actions/deploy-pages@v2
+ uses: actions/deploy-pages@v2
+
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
0 commit comments