mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-12-02 07:49:13 +00:00
35 lines
818 B
YAML
35 lines
818 B
YAML
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:
|
|
node-version: 16.13
|
|
- name: Install dependencies
|
|
run: npm install
|
|
- name: see directory with dependencies
|
|
run: ls
|
|
- name: Add env file
|
|
run: echo "${{secrets.KEY_TMDB2}}22" > .env
|
|
- name: Deploy Releases
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: npm run deploy
|