Skip to content

springcloud dynamic register (#1036) #2175

springcloud dynamic register (#1036)

springcloud dynamic register (#1036) #2175

Workflow file for this run

name: Website Deploy
on:
pull_request:
push:
branches:
- main
jobs:
build_and_deploy_job:
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
-
name: Checkout Code
uses: actions/checkout@v2
with:
submodules: recursive
-
name: Setup Node
uses: actions/[email protected]
with:
node-version: "18"
-
name: Setup Dependencies
run: yarn install
-
name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
-
name: Generate PDF
run: |
bash .github/scripts/generate-pdf.sh
cp -r pdf/ static/
-
name: Build Site
run: yarn build
-
name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
publish_branch: asf-site
publish_dir: ./build