This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
Add logo on the top and info bar at the bottom #144
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prepare gh-pages branch | |
on: | |
push: | |
branches: | |
- main | |
repository_dispatch: | |
types: [ external-webapp-deployment-trigger ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.11.1" | |
- name: Install dependencies | |
run: npm install | |
- name: Collect assets | |
run: npm run collectAssets | |
- name: Deploy to gh-pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
force_orphan: true | |
allow_empty_commit: true |