Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonShevchuk committed Jun 26, 2024
1 parent 663daa9 commit 70cbc7a
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: npm
- name: Setup Pages
uses: actions/configure-pages@v4
Expand All @@ -56,15 +56,10 @@ jobs:
- run: mv .public public
- run: ls -la ./public
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: './public'
- name: Verify artifact upload
run: |
if [ -z "$(ls -A ./public)" ]; then
echo "No files found in public directory, upload will fail."
exit 1
fi
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3

0 comments on commit 70cbc7a

Please sign in to comment.