frontend build hash
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9b21bca587
commit
4f1f392f72
|
@ -11,7 +11,7 @@ steps:
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: node:16.13.1-alpine
|
image: node:16.13.1-alpine
|
||||||
commands:
|
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:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /drone/src/frontend/node_modules
|
path: /drone/src/frontend/node_modules
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
|
||||||
import { BsFileEarmarkCodeFill, BsTwitter } from "react-icons/bs";
|
import { BsTwitter } from "react-icons/bs";
|
||||||
|
|
||||||
export default class Footer extends Component {
|
export default class Footer extends Component {
|
||||||
render() {
|
render() {
|
||||||
|
@ -9,7 +9,7 @@ export default class Footer extends Component {
|
||||||
<small>
|
<small>
|
||||||
Coded by <a href="https://twitter.com/xergio">Sergio Álvarez <BsTwitter /></a>{' '}
|
Coded by <a href="https://twitter.com/xergio">Sergio Álvarez <BsTwitter /></a>{' '}
|
||||||
<span className="text-muted">¦</span>{' '}
|
<span className="text-muted">¦</span>{' '}
|
||||||
<a href="https://sergio.am/code/xrg.es"><BsFileEarmarkCodeFill /></a></small>
|
Build <a href="https://sergio.am/code/xrg.es"><tt>{process.env.REACT_APP_GIT_SHA}</tt></a></small>
|
||||||
</footer>
|
</footer>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue