Skip to content

Commit

Permalink
Update and rename static.yml to gh_pages_upload.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusZ36 authored Dec 6, 2024
1 parent 49ab70b commit 79c7e1f
Showing 1 changed file with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Build with webpack
run: npm run build

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './src'
path: './dist'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 79c7e1f

Please sign in to comment.