mirror of
https://github.com/artegoser/ultyt.git
synced 2024-12-22 17:33:46 +03:00
doc: deploy pages
This commit is contained in:
parent
fa097e4bdd
commit
f437be86c7
1 changed files with 22 additions and 0 deletions
22
.github/workflows/gh-pages-deploy.yml
vendored
Normal file
22
.github/workflows/gh-pages-deploy.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
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
|
Loading…
Add table
Reference in a new issue