WebTools-NG/.github/workflows/release.yml
Tommy Mikkelsen 366a26132d Test rel1
2022-08-17 22:46:21 +02:00

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