Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
O-h-y-o committed Jun 23, 2023
1 parent bdda409 commit 4a7793a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

name: Deploy Docs

on:
push:
branches:
# make sure this is the branch you are using
- main

jobs:
Expand All @@ -15,22 +13,20 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
# if your docs needs submodules, uncomment the following line
# submodules: true

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true


- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm


- name: Build Docs
env:
NODE_OPTIONS: --max_old_space_size=8192
Expand All @@ -41,6 +37,5 @@ jobs:
- name: Deploy Docs
uses: JamesIves/github-pages-deploy-action@v4
with:
# This is the branch where the docs are deployed to
branch: gh-pages
folder: src/.vuepress/dist
6 changes: 6 additions & 0 deletions src/ko/posts/vuepress/start-blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,9 @@ $ git add .
$ git commit -m "message"
$ git push
```

git push에서 브랜치 에러가 난다면 다음 명령어를 입력해주세요.

```sh
$ git push --set-upstream origin main
```

0 comments on commit 4a7793a

Please sign in to comment.