Skip to content

Commit

Permalink
Create deploy-page.yml
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
TransparentLC committed Nov 28, 2023
1 parent 575b25c commit 7083017
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy-page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: deploy-page

on:
workflow_dispatch:

jobs:
deploy-page:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: TransparentLC/realesrgan-gui-page
- uses: actions/setup-node@v4
with:
node-version: latest
check-latest: true
cache: npm
cache-dependency-path: package.json
- name: Install npm dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com

0 comments on commit 7083017

Please sign in to comment.