mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 20:05:50 +00:00
CI: JA-capable staging??
This commit is contained in:
14
.github/workflows/link-checker-pr.yml
vendored
14
.github/workflows/link-checker-pr.yml
vendored
@@ -26,10 +26,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
tool/conflictmarkers.sh
|
tool/conflictmarkers.sh
|
||||||
|
|
||||||
|
- name: Get short SHA6
|
||||||
|
id: slug
|
||||||
|
run: echo "::set-output name=sha6::$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-6)"
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: |
|
run: |
|
||||||
echo '{"github_forkurl": "https://github.com/${{ github.event.pull_request.head.repo.full_name }}", "github_branch": "${{ github.head_ref }}", "github_pr_id": "${{ github.event.number }}", "is_pr_build": true}' > dactyl_vars.json
|
echo '{"github_forkurl": "https://github.com/${{ github.event.pull_request.head.repo.full_name }}", "github_branch": "${{ github.head_ref }}", "github_pr_id": "${{ github.event.number }}", "is_pr_build": true, "prefix": "https://${{ github.repository_owner }}.github.io/${{ github.event.pull_request.base.repo.name }}/pr-preview/${{ github.head_ref }}/${{steps.slug.outputs.sha6}}/"}' > dactyl_vars.json
|
||||||
tool/build_all_langs.sh --vars dactyl_vars.json
|
dactyl_build --vars dactyl_vars.json
|
||||||
|
echo '{"github_forkurl": "https://github.com/${{ github.event.pull_request.head.repo.full_name }}", "github_branch": "${{ github.head_ref }}", "github_pr_id": "${{ github.event.number }}", "is_pr_build": true, "prefix": "https://${{ github.repository_owner }}.github.io/${{ github.event.pull_request.base.repo.name }}/pr-preview/${{ github.head_ref }}/${{steps.slug.outputs.sha6}}/ja/"}' > dactyl_vars_ja.json
|
||||||
|
dactyl_build -t ja --vars dactyl_vars_ja.json -o out/ja/
|
||||||
|
|
||||||
- name: Run Dactyl Link Checker
|
- name: Run Dactyl Link Checker
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
@@ -56,10 +62,6 @@ jobs:
|
|||||||
dist: "out"
|
dist: "out"
|
||||||
slug: "pr-preview"
|
slug: "pr-preview"
|
||||||
|
|
||||||
- name: Get short SHA6
|
|
||||||
id: slug
|
|
||||||
run: echo "::set-output name=sha6::$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-6)"
|
|
||||||
|
|
||||||
- name: Summarize Output
|
- name: Summarize Output
|
||||||
uses: unsplash/comment-on-pr@master
|
uses: unsplash/comment-on-pr@master
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user