mirror of https://gitea.com/gitea/theme.git
add pull request action
This commit is contained in:
parent
55b765b9bc
commit
7072b792b4
|
@ -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
|
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue