Skip to content

Commit 9e7a17c

Browse files
committed
Configurar Docsify com GitHub Actions
1 parent 6a7a0bb commit 9e7a17c

File tree

3 files changed

+32
-78
lines changed

3 files changed

+32
-78
lines changed

.github/workflows/docsify.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Deploy Docsify site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: '14'
20+
21+
- name: Install Docsify CLI
22+
run: npm install -g docsify-cli
23+
24+
- name: Initialize Docsify
25+
run: docsify init ./docs
26+
27+
- name: Deploy to GitHub Pages
28+
uses: peaceiris/actions-gh-pages@v3
29+
with:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
publish_dir: ./docs

.github/workflows/hugo.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.idea/workspace.xml

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)