Skip to content

Commit

Permalink
try it again
Browse files Browse the repository at this point in the history
  • Loading branch information
EtherD3v committed May 15, 2024
1 parent 780e358 commit 9a155d8
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,22 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies and build
run: |
npm install
npm run build
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build

- name: Deploy to gh-pages
run: |
cp -r dist/* .
rm -rf dist
git add .
git commit -m "Update gh-pages with dist content" || echo "No changes to commit"
git diff-index --quiet HEAD || git commit -m "Update gh-pages with dist content"
git push origin gh-pages

0 comments on commit 9a155d8

Please sign in to comment.