Browse Source

👷 add docker

main
Martin 4 years ago
parent
commit
ad0d00f8d4
  1. 24
      .circleci/config.yml
  2. 3
      .gitignore
  3. 44575
      package-lock.json
  4. 1
      package.json
  5. 14165
      yarn.lock

24
.circleci/config.yml

@ -68,6 +68,24 @@ jobs:
docker push $DOCKER_HUB_USER_ID/$DOCKER_HUB_NAME:$CIRCLE_BUILD_NUM
docker push $DOCKER_HUB_USER_ID/$DOCKER_HUB_NAME:latest
front-netlify-deploy:
<<: *shared-config
steps:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "package.json" }}-v1
- dependencies-
- run:
name: Install netlify
command: |
yarn add -D netlify-cli
- run:
name: Deploy app
command: yarn netlify deploy --auth $NETLIFY_AUTH_TOKEN --dir ~/repo --site $NETLIFY_SITE_ID --prod
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
@ -87,3 +105,9 @@ workflows:
filters:
branches:
only: main
- front-netlify-deploy:
requires:
- build
filters:
branches:
only: main

3
.gitignore

@ -6,3 +6,6 @@ dist-ssr
.idea
.env
.env*
# Local Netlify folder
.netlify

44575
package-lock.json
File diff suppressed because it is too large
View File

1
package.json

@ -29,6 +29,7 @@
"husky": "7.0.4",
"identity-obj-proxy": "^3.0.0",
"msw": "0.35.0",
"netlify-cli": "^8.8.2",
"postcss": "^8.3.11",
"prettier": "2.4.1",
"pretty-quick": "3.1.1",

14165
yarn.lock
File diff suppressed because it is too large
View File

Loading…
Cancel
Save