diff --git a/.github/workflows/deploy-firebase.yaml b/.github/workflows/deploy-firebase.yaml index ad9cd1af..01a730d6 100644 --- a/.github/workflows/deploy-firebase.yaml +++ b/.github/workflows/deploy-firebase.yaml @@ -1,5 +1,6 @@ name: Deploy on: + workflow_dispatch: push: branches: - master diff --git a/.github/workflows/deploy-frontend.yaml b/.github/workflows/deploy-frontend.yaml index 7e83bcae..e01d46ca 100644 --- a/.github/workflows/deploy-frontend.yaml +++ b/.github/workflows/deploy-frontend.yaml @@ -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 @@ -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/sentry-releases-action@v1.0.0 env: