mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-10-01 15:33:16 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76cb8bbd34 | ||
|
|
a7a0a05827 | ||
|
|
860d55373c | ||
|
|
ad82b388e9 | ||
|
|
4d915c71c7 | ||
|
|
c332bc07b1 | ||
|
|
aa7ca68533 | ||
|
|
dd49eee58b | ||
|
|
2dcfa6f6b8 | ||
|
|
4a0d71b3f3 | ||
|
|
917fb71cc6 | ||
|
|
968b17b439 | ||
|
|
837642ac0a |
@@ -1,29 +0,0 @@
|
|||||||
name: Create issue to track porting between Community and Product docs
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request_target:
|
|
||||||
types:
|
|
||||||
- closed
|
|
||||||
paths-ignore:
|
|
||||||
- '**/README.md'
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
issues: write
|
|
||||||
pull-requests: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
create_issue:
|
|
||||||
if: github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'port/community-product')
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Create issue
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ github.token }}
|
|
||||||
REPO_TYPE: ${{ contains( github.repository, 'product-docs') && 'Product' || 'Community' }}
|
|
||||||
PR_TITLE: ${{ github.event.pull_request.title }}
|
|
||||||
run: |
|
|
||||||
gh issue create \
|
|
||||||
--repo ${{ github.repository }} \
|
|
||||||
--title "Port $REPO_TYPE docs PR #${{ github.event.pull_request.number }}: $PR_TITLE" \
|
|
||||||
--body "Reference: https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}" \
|
|
||||||
--label port/community-product
|
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Build website
|
- name: Build website
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: "--max_old_space_size=8192"
|
NODE_OPTIONS: "--max_old_space_size=10240"
|
||||||
run: yarn build --no-minify
|
run: yarn build --no-minify
|
||||||
|
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
|
|||||||
@@ -27,5 +27,5 @@ jobs:
|
|||||||
run: yarn run remark --quiet --use remark-lint-no-dead-urls ./docs
|
run: yarn run remark --quiet --use remark-lint-no-dead-urls ./docs
|
||||||
- name: Test build website
|
- name: Test build website
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: "--max_old_space_size=7168"
|
NODE_OPTIONS: "--max_old_space_size=10240"
|
||||||
run: yarn build --no-minify
|
run: yarn build --no-minify
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user