ultyt/.github/workflows/gh-pages-deploy.yml
2023-08-09 18:11:52 +03:00

22 lines
469 B
YAML

name: Deploy pages
on:
push:
branches: [main]
permissions:
contents: write
jobs:
deploy:
name: Deploy pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm i
- name: Build pages
run: npm run build
- name: Deploy pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist