Skip to content

Commit

Permalink
fix: deploy pipeline (#474)
Browse files Browse the repository at this point in the history
* ci: adds frontend action for github actions deploy

* ci: adds workflow dispatch trigger
  • Loading branch information
kenodressel authored Jul 26, 2023
1 parent a34ef4f commit d5c7a98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-firebase.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Deploy
on:
workflow_dispatch:
push:
branches:
- master
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/deploy-frontend.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Deploy
on:
workflow_dispatch:
push:
branches:
- master
jobs:
deploy-frontend:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Use Node.js 10.x
Expand All @@ -19,10 +22,10 @@ jobs:
env:
NODE_ENV: prod
REACT_APP_SENTRY_RELEASE: ${{ github.sha }}
- name: Deploy
env:
TOKEN: ${{ secrets.TOKEN }}
run: ./.github/workflows/deploy-frontend.sh
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build # The folder the action should deploy.
- name: Create a release on Sentry
uses: tclindner/[email protected]
env:
Expand Down

0 comments on commit d5c7a98

Please sign in to comment.