Skip to content

Commit

Permalink
test on release event
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-Levitskiy authored Mar 4, 2020
1 parent c602584 commit 8ce8b8c
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "imprint-web"
}
}
32 changes: 32 additions & 0 deletions .github/workflows/web-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: web-deploy

on:
release:
push:
tags:
- v*

jobs:
web-deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: tst
run: |
ls
env
# - 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 }}
17 changes: 17 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"hosting": {
"site": "auth-web",
"public": "dist/auth-web",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}

0 comments on commit 8ce8b8c

Please sign in to comment.