Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
terrykingcha committed Apr 12, 2024
1 parent 299b2b8 commit 6b47bf8
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,28 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
strategy:
matrix:
node_version: ['18.x']

steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Use Node.js ${{ matrix.node_version }}
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
node-version: 18.x

- name: npm install, build
run: |
npm install
npm run build
- name: Setup Pages
uses: actions/configure-pages@v5

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

- name: Deploy to GitHub Pages
Expand Down

0 comments on commit 6b47bf8

Please sign in to comment.