2022-01-01 21:15:20 +00:00
|
|
|
name: Build/release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- release
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
# os: [macos-latest]
|
|
|
|
# os: [ubuntu-latest, windows-latest]
|
|
|
|
# os: [windows-latest]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Check out Git repository
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Setup Node.js
|
|
|
|
uses: actions/setup-node@master
|
|
|
|
with:
|
2022-05-12 11:54:47 +00:00
|
|
|
node-version: 16.13
|
2022-01-01 21:15:20 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: npm install
|
|
|
|
- name: see directory with dependencies
|
|
|
|
run: ls
|
2022-08-17 20:46:21 +00:00
|
|
|
- name: Add env file
|
|
|
|
run: echo "${{secrets.KEY_TMDB2}}22" > .env
|
2022-01-01 21:15:20 +00:00
|
|
|
- name: Deploy Releases
|
|
|
|
env:
|
|
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
run: npm run deploy
|