исправления, преукрасл стили у компонентов #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
defaults: | |
run: | |
working-directory: './web' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm install | |
- name: Build and deploy | |
run: | | |
npm run build | |
git config --global user.email "[email protected]" | |
git config --global user.name "dan0102dan" | |
git checkout --orphan gh-pages | |
git --work-tree build add --all | |
git --work-tree build commit -m "GitHub Pages deployment" | |
git push origin HEAD:gh-pages --force |