mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-05 04:15:50 +00:00
Merge pull request #1486 from XRPLF/fix_links_disable_funding
Some repo cleanup
This commit is contained in:
52
.github/workflows/prod-deploy.yml
vendored
52
.github/workflows/prod-deploy.yml
vendored
@@ -1,52 +0,0 @@
|
||||
name: Deploy to Production
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "Deploy to Production"
|
||||
runs-on: ubuntu-latest
|
||||
environment: prod
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install dactyl lxml
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
stamp=$(date +'%Y%m%d%H%M%S')
|
||||
dactyl_build -o "$stamp"
|
||||
dactyl_build -o "$stamp/ja" -t ja
|
||||
cp ./favicon.ico "$stamp"
|
||||
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.PRODUCTION_KEY }}
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
config: |
|
||||
Host xrplprod
|
||||
HostName developers1.ripple.com
|
||||
User jenkins
|
||||
|
||||
- name: Push to Prod
|
||||
run: |
|
||||
rsync -av $stamp xrplprod:/srv/developers/releases/
|
||||
ssh xrplprod "rm -f /srv/developers/current && ln -s /srv/developers/releases/$stamp /srv/developers/current"
|
||||
|
||||
- name: Clean up old deploys
|
||||
run: |
|
||||
ssh xrplprod "find /srv/developers/releases -maxdepth 1 -type d -regex '.*/[0-9]+' | sort -r | tail -n+6 | xargs rm -rf"
|
||||
@@ -1138,7 +1138,7 @@ pages:
|
||||
- md: tutorials/quickstart/authorize-minter.md
|
||||
targets:
|
||||
- en
|
||||
- ja
|
||||
- ja
|
||||
|
||||
- md: tutorials/get-started/get-started.md
|
||||
targets:
|
||||
@@ -4245,14 +4245,15 @@ pages:
|
||||
targets:
|
||||
- en
|
||||
|
||||
- name: Developer Funding
|
||||
html: developer-funding.html
|
||||
parent: contribute.html
|
||||
template: page-funding.html.jinja
|
||||
sidebar: disabled
|
||||
targets:
|
||||
- en
|
||||
- ja
|
||||
# Developer funding page disabled until Bounties program launches.
|
||||
# - name: Developer Funding
|
||||
# html: developer-funding.html
|
||||
# parent: contribute.html
|
||||
# template: page-funding.html.jinja
|
||||
# sidebar: disabled
|
||||
# targets:
|
||||
# - en
|
||||
# - ja
|
||||
|
||||
- name: XRPL Jobs
|
||||
html: https://jobs.xrpl.org/
|
||||
@@ -4398,6 +4399,9 @@ ignore_anchors_in:
|
||||
#Sometimes, a link is not really problematic, but the link checker detects it
|
||||
# as such and the easiest solution is to ignore it.
|
||||
known_broken_links:
|
||||
# This dummy URI is used for some images that require a src attribute, but
|
||||
# their actually content is defined in CSS (and theme-dependent)
|
||||
- data:,
|
||||
# These PDFs download OK in a browser
|
||||
- http://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX%3A32015R0847
|
||||
- http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:2006:345:0001:0009:EN:PDF
|
||||
|
||||
Reference in New Issue
Block a user