Skip to content

Commit

Permalink
Undo previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanHCenalmor committed Oct 17, 2024
1 parent 324f79d commit fdc9743
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,23 @@ jobs:
path: |
gatsby/node_modules/
gatsby/.cache/
gatsby/public/
public/
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} # Creates a unique key for the cache based on the OS and the hash of package-lock.json file
restore-keys: |
${{ runner.os }}-npm-
- name: Install and Build
working-directory: ./gatsby
run: |
rm -f -R public
cd gatsby
npm install
./node_modules/.bin/gatsby build --prefix-paths
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./gatsby/public
path: ./public


# Deployment job
Deploy_webpage:
Expand Down

0 comments on commit fdc9743

Please sign in to comment.