Skip to content

Commit f3efce5

Browse files
committed
Getting closer. Adding environment back in
1 parent 05204fc commit f3efce5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/actions.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
contents: write
2626
pages: write
2727
id-token: write
28+
environment:
29+
name: github-pages
30+
url: ${{ steps.deployment.outputs.page_url }}
2831
runs-on: ubuntu-latest
2932
steps:
3033
- name: Checkout repository
@@ -38,16 +41,14 @@ jobs:
3841
run: npm ci
3942
- name: Build Website
4043
run: npm run build
41-
- name: List files for debugging before upload
42-
run: |
43-
ls -la .
44-
pwd
4544
- name: Upload artifact
4645
uses: actions/upload-pages-artifact@v3
4746
with:
4847
path: ./output
4948
- name: List files for debugging after upload
50-
run: ls -la
49+
run: |
50+
ls -la .
51+
pwd
5152
- name: Deploy to GitHub Pages
5253
id: deployment
5354
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)