Skip to content

Commit

Permalink
Fix actions/upload-pages-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
InusBot committed Jan 23, 2024
1 parent 9cf0a25 commit 4a5442f
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
source: ./
destination: ./_site
- name: Upload Pages
uses: actions/upload-pages-artifact@v0
uses: actions/upload-pages-artifact@v2
with:
path: ./_site
path: ./_site/
name: github-pages
retention-days: 1
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v1
Expand All @@ -62,22 +63,16 @@ jobs:
env:
#GITHUB_PAGES: true
INPUT_PATH: ./_site/
#- name: Upload artifact
# uses: actions/upload-artifact@main
# with:
# name: github-pages
# path: ${{ runner.temp }}/artifact.tar
# retention-days: 1
# if-no-files-found: warn
# overwrite: true
# env:
# GITHUB_PAGES: true
- name: Upload Pages Artifact
uses: action/upload-pages-artifact@v2
- name: Upload artifact
uses: actions/upload-artifact@main
with:
name: github-pages
path: ./_site/
path: ${{ runner.temp }}/artifact.tar
retention-days: 1
if-no-files-found: warn
overwrite: true
env:
GITHUB_PAGES: true

# Deployment job
deploy:
Expand Down

0 comments on commit 4a5442f

Please sign in to comment.