mirror of
https://github.com/barkeser2002/bariskeser.github.io.git
synced 2026-09-25 01:00:08 +03:00
29 lines
548 B
YAML
29 lines
548 B
YAML
language: node_js
|
|
node_js:
|
|
- 'node'
|
|
cache:
|
|
npm: false
|
|
directories:
|
|
- '~/.pnpm-store'
|
|
before_install:
|
|
- curl -f https://get.pnpm.io/v6.js | node - add --global pnpm@6
|
|
- pnpm config set store-dir ~/.pnpm-store
|
|
install:
|
|
- pnpm install
|
|
script:
|
|
- pnpm run build
|
|
after_success:
|
|
- cp build/index.html build/404.html
|
|
deploy:
|
|
provider: pages
|
|
skip_cleanup: true
|
|
local_dir: build
|
|
github_token: $GH_TOKEN
|
|
keep_history: true
|
|
target_branch: gh-pages
|
|
on:
|
|
branch: master
|
|
env:
|
|
- NODE_OPTIONS=--openssl-legacy-provider
|
|
ssssss
|