Skip to content

fix aapanel deployment file name error #2183

fix aapanel deployment file name error

fix aapanel deployment file name error #2183

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/setup-node@v2.4.0
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