add pull request action

This commit is contained in:
techknowlogick 2023-03-07 02:15:04 -05:00
parent 55b765b9bc
commit 7072b792b4
2 changed files with 23 additions and 5 deletions

View File

@ -0,0 +1,19 @@
name: dry run building theme
run-name: dry-run
on: [pull_request]
jobs:
dry-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: build npm
run: |
npm ci
npm run clean
npm run build
npm run release

View File

@ -1,11 +1,10 @@
name: Build and Publish Docs site
run-name: docusaurus build docs site
name: Build and Publish Theme
run-name: build-and-publish
on:
push:
branches:
- main
- techknowlogick-patch-1
jobs:
build-docs:
@ -15,9 +14,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- name: make temporary directories
- name: install aws cli
run: |
apt update -y && apt install -y rsync python python3-pip
apt update -y && apt install -y python python3-pip
pip install awscli
- name: build npm
run: |