ci: add deployment step for mcw-mcraft-page repository in GitHub Actions

This commit is contained in:
Vitaly Turovsky 2025-08-27 12:08:20 +03:00
commit 9718610131

View file

@ -49,6 +49,18 @@ jobs:
publish_dir: .vercel/output/static
force_orphan: true
# Deploy to mcw-mcraft-page repository (github.mcraft.fun)
- name: Deploy to mcw-mcraft-page repository
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.MCW_MCRAFT_PAGE_DEPLOY_TOKEN }}
external_repository: ${{ github.repository_owner }}/mcw-mcraft-pages
publish_dir: .vercel/output/static
publish_branch: main
destination_dir: docs
cname: github.mcraft.fun
force_orphan: true
- name: Change index.html title
run: |
# change <title>Minecraft Web Client</title> to <title>Minecraft Web Client — Free Online Browser Version</title>