Skip to content

Commit

Permalink
More tweaks to Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
annecremin committed Feb 6, 2025
1 parent 3749a66 commit 275c7b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ jobs:
name: github-pages
path: ./build
retention-days: 1
if-no-files-found: error

- name: Save Pages Artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: ${{ runner.temp }}/_github_workflow/artifact.tar
path: ./build
include-hidden-files: true

- name: Check artifact ID
run: |
Expand Down Expand Up @@ -115,9 +115,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: github-pages
path: ${{ runner.temp }}/_github_workflow/

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
with:
artifact_name: ${{ steps.upload.outputs.artifact_name }}
artifact_name: github-pages
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/.bundle

# Ignore the build directory
#/build
/build

# Ignore cache
/.sass-cache
Expand Down

0 comments on commit 275c7b8

Please sign in to comment.