Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jun 7, 2024
1 parent 8576b05 commit 81e65ed
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/deloy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,22 @@ name: Build and Deploy to GitHub Pages
on:
push:
branches:
- main
- deploy-web
- main
- deploy-web
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Build the project
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
File renamed without changes.

0 comments on commit 81e65ed

Please sign in to comment.