Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin committed Nov 13, 2024
1 parent d239f2c commit b054fef
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: build
path: .build/

deploy-production:
needs: build
Expand All @@ -49,8 +48,6 @@ jobs:
permissions:
pages: write
id-token: write
deployments: write
statuses: write
contents: read

environment:
Expand All @@ -63,24 +60,11 @@ jobs:

steps:
- name: Configure Pages
uses: actions/configure-pages@v4

- name: Download artifact
uses: actions/download-artifact@v4
with:
name: github-pages
path: build

- name: Debug downloaded artifact
run: |
echo "Downloaded contents:"
ls -la build
uses: actions/configure-pages@v5

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
with:
artifact_name: github-pages

# deploy-preview:
# needs: build
Expand Down

0 comments on commit b054fef

Please sign in to comment.