Skip to content

Commit

Permalink
updated action to node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
HarmlessHarm committed Nov 19, 2022
1 parent c184126 commit 46fa727
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/build_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,32 @@ name: Deploy Live

on:
push:
branches: [ master ]
branches: [master]
# pull_request:
# branches: [ master ]


jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Node.js 12
- name: Setup Node.js 16
uses: actions/setup-node@v2
with:
node-version: '12'
cache: 'npm'
node-version: "16"
cache: "npm"
- run: npm i -g @quasar/cli@latest
- run: npm ci

- name: Create env file
run: |
cat << EOF >> .env.production.local
${{ secrets.ENV_FILE }}
EOF
cat << EOF >> .env.production.local
${{ secrets.ENV_FILE }}
EOF
- run: quasar build -m ssr --if-present

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry Docker Hub
Expand All @@ -58,5 +56,3 @@ jobs:
context: .
push: true
tags: harmlesskey/harmlesskey


0 comments on commit 46fa727

Please sign in to comment.