Skip to content

Commit

Permalink
update deploy path for gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ibarrajo committed Dec 9, 2024
1 parent fd12155 commit 1d54a91
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ jobs:

steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
# https://github.com/actions/checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js v18
uses: actions/setup-node@v3
# https://github.com/actions/setup-node
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: lts/hydrogen
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
cache: 'npm'
- name: Install and Build 🔧
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
steps:
# same as build.yml
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js v18
uses: actions/setup-node@v3
- name: Use Node.js lts/hydrogen (v18)
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: lts/hydrogen
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
cache: 'npm'
- name: Install and Build 🔧
Expand All @@ -36,5 +36,5 @@ jobs:
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: dist # The folder the action should deploy.
FOLDER: build # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch

0 comments on commit 1d54a91

Please sign in to comment.