Skip to content

Commit

Permalink
remove circleci, add github actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
Lab-Brat committed Jan 7, 2023
1 parent 7daae99 commit deb648c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 36 deletions.
34 changes: 0 additions & 34 deletions .circleci/config.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

name: Publish to GitHub Pages

on:
push:
branches:
- dev

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected] # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v1
with:
# choose node.js version to use
node-version: '14'

- name: Install and Build 🔧 #
run: |
yarn
yarn docs:build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/.vuepress/dist # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![CircleCI](https://circleci.com/gh/cloudlinux/kernelcare-doc.svg?style=svg)](https://circleci.com/gh/cloudlinux/kernelcare-doc)

# Install dependencies

```
Expand Down

0 comments on commit deb648c

Please sign in to comment.