Skip to content

Commit

Permalink
Configurar Docsify com GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Jul 13, 2024
1 parent 6a7a0bb commit 9e7a17c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 78 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docsify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy Docsify site to GitHub Pages

on:
push:
branches:
- main

jobs:
build-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install Docsify CLI
run: npm install -g docsify-cli

- name: Initialize Docsify
run: docsify init ./docs

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
74 changes: 0 additions & 74 deletions .github/workflows/hugo.yml

This file was deleted.

5 changes: 1 addition & 4 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9e7a17c

Please sign in to comment.