Skip to content

Commit

Permalink
feat: adding deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliagranato authored Feb 21, 2024
1 parent 26499a6 commit 2c216e5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 98 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and Deploy
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install the dependencies
run: npm install
- name: Build docs
run: npx honkit build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.USER_TOKEN }}
BRANCH: gh-pages
FOLDER: _book
98 changes: 0 additions & 98 deletions .github/workflows/docker-publish.yml

This file was deleted.

0 comments on commit 2c216e5

Please sign in to comment.