diff --git a/.drone.yml b/.drone.yml index d0a98af..f02ec4c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - name: frontend image: node:16.13.1-alpine commands: - - cd frontend && npm install && npm run build + - cd frontend && npm install && REACT_APP_GIT_SHA="${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}" npm run build volumes: - name: cache path: /drone/src/frontend/node_modules diff --git a/frontend/src/Footer.js b/frontend/src/Footer.js index 0324308..7c2fe69 100644 --- a/frontend/src/Footer.js +++ b/frontend/src/Footer.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; -import { BsFileEarmarkCodeFill, BsTwitter } from "react-icons/bs"; +import { BsTwitter } from "react-icons/bs"; export default class Footer extends Component { render() { @@ -9,7 +9,7 @@ export default class Footer extends Component { Coded by Sergio Álvarez {' '} ¦{' '} - + Build {process.env.REACT_APP_GIT_SHA} ) }