Skip to content

Commit

Permalink
fix: changed upload action to upload-pages-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
JAHMCRIBM committed Jul 29, 2024
1 parent 1df9afa commit eafeadb
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
node: [ 18 ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
Expand All @@ -28,11 +28,9 @@ jobs:
npm run build
npm run docs
- name: Upload artifact
id: upload-artifact
uses: actions/upload-artifact@v4
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v1
with:
name: github-pages
path: dist/docs
Deploy:
needs: Documentation
Expand All @@ -41,11 +39,6 @@ jobs:
pages: write
id-token: write
steps:
- name: Checkout GitHub Pages branch
uses: actions/checkout@v3
with:
ref: gh-pages

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit eafeadb

Please sign in to comment.