Skip to content

Fix UI on mobile platforms #6

Fix UI on mobile platforms

Fix UI on mobile platforms #6

Workflow file for this run

name: Build & Deploy
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
name: Build Web App
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Archive Production Artifact
uses: actions/upload-artifact@v3
with:
name: production
path: dist
deploy:
needs: build
name: Deploy to seiKiMo
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: production
path: dist
- name: ZIP Artifact
uses: vimtor/action-zip@v1
with:
files: dist/
dest: build.zip
- name: Deploy to seiKiMo
uses: KingRainbow44/upload-file@v1
with:
url: https://seikimo.moe/actions/site
file: build.zip
authorization: ${{ secrets.UPLOAD_TOKEN }}
method: POST