Skip to content

Version 1.2.0

Version 1.2.0 #8

Workflow file for this run

name: Deploy to meiseki.mew151.net
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: ⚙️ Install dependencies
run: npm install
- name: 🛠️ Build
run: npm run build
- name: 📂 Upload to server
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
local-dir: ./dist/
server-dir: ./upload/
- name: 🔗 Run publish script on server
run: >
curl https://meiseki.mew151.net/neoquiz/release.php -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "key=${{ secrets.server_secret }}"