Skip to content

Commit

Permalink
github workflows deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
bddjr committed Nov 27, 2024
1 parent f6f4899 commit a330feb
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,25 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Build
run: |
npm i
cd test
npm i
cd ..
npm run build
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: test/dist
single-commit: true
- name: Build
run: |
npm i
cd test
npm i
cd ..
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: test/dist
single-commit: true

0 comments on commit a330feb

Please sign in to comment.