Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Bump browserify-sign from 4.2.1 to 4.2.3 in /MyFlickList.App #76

Bump browserify-sign from 4.2.1 to 4.2.3 in /MyFlickList.App

Bump browserify-sign from 4.2.1 to 4.2.3 in /MyFlickList.App #76

Workflow file for this run

name: CD
# Change to only run on tags in the future
on: [push]
jobs:
deploy-api:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install .NET
uses: actions/[email protected]
with:
dotnet-version: 5.0.x
- name: Install Heroku CLI
run: curl https://cli-assets.heroku.com/install.sh | sh
- name: Deploy
run: |
heroku container:login
docker build . -f MyFlickList.Api.dockerfile -t myflicklist.api
docker tag myflicklist.api registry.heroku.com/${{ secrets.HEROKU_APP }}/web
docker push registry.heroku.com/${{ secrets.HEROKU_APP }}/web
heroku container:release web -a ${{ secrets.HEROKU_APP }}
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_TOKEN }}
deploy-app:
needs: deploy-api
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install NodeJS
uses: actions/[email protected]
with:
node-version: 12
- name: Install Netlify CLI
run: npm i netlify-cli -g
- name: Pull dependencies
run: npm ci --no-audit
working-directory: ./MyFlickList.App
- name: Build
run: npm run build
working-directory: ./MyFlickList.App
env:
NODE_ENV: production
PUBLIC_URL: https://myflicklist.netlify.app/
REACT_APP_API_URL: https://myflicklist.herokuapp.com/
REACT_APP_GOOGLE_ANALYTICS: ${{ secrets.GOOGLE_ANALYTICS_TOKEN }}
REACT_APP_SENTRY: ${{ secrets.SENTRY_TOKEN }}
- name: Deploy
run: netlify deploy --dir=build --prod
working-directory: ./MyFlickList.App
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_TOKEN }}