Skip to content

Commit

Permalink
web-deploy from releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-Levitskiy authored Mar 7, 2020
1 parent 79484fd commit 655a62a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/web-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: web-deploy

on:
release:
types: [published]

jobs:
web-deploy:
Expand All @@ -14,15 +15,16 @@ jobs:
with:
node-version: '12.x'

- name: tst
- name: Deploy
run: |
echo ${github.event}
wget ${{ github.event.release.assets[0].browser_download_url }}
unzip auth-web.zip
# - name: Npm ci & build
# run: |
# npm ci
# npm run build:prod
# - uses: w9jds/[email protected]
# with:
# args: deploy --only hosting:auth-web
# env:
# FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
- uses: w9jds/[email protected]
with:
args: deploy --only hosting:auth-web
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}

0 comments on commit 655a62a

Please sign in to comment.