Skip to content

Commit

Permalink
Create static.yml
Browse files Browse the repository at this point in the history
Signed-off-by: urumo <[email protected]>
  • Loading branch information
urumo authored Dec 16, 2024
1 parent 860a2d1 commit 74d2db7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- master

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
# Скачиваем репозиторий
- name: Checkout repository
uses: actions/checkout@v3

# Устанавливаем Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 22

# Устанавливаем зависимости
- name: Install dependencies
run: npm install

# Собираем проект
- name: Build project
run: npm run build

0 comments on commit 74d2db7

Please sign in to comment.