mirror of
https://github.com/acid-info/free.technology.git
synced 2025-02-20 13:38:33 +00:00
chore: update metadata
This commit is contained in:
parent
2ab187aed6
commit
7f42751c49
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -27,11 +27,7 @@ pipeline {
|
||||
steps {
|
||||
script {
|
||||
withCredentials([
|
||||
usernamePassword(
|
||||
credentialsId: 'ift-unbody-api-token',
|
||||
usernameVariable: 'UNBODY_PROJECT_ID',
|
||||
passwordVariable: 'UNBODY_API_KEY'
|
||||
),
|
||||
usernamePassword(),
|
||||
string(
|
||||
credentialsId: 'ift-simplecast-token',
|
||||
variable: 'SIMPLECAST_ACCESS_TOKEN'
|
||||
@ -43,10 +39,7 @@ pipeline {
|
||||
]) {
|
||||
image = docker.build(
|
||||
"${IMAGE_NAME}:${GIT_COMMIT.take(8)}",
|
||||
["--build-arg='UNBODY_PROJECT_ID=${env.UNBODY_PROJECT_ID}'",
|
||||
"--build-arg='UNBODY_API_KEY=${env.UNBODY_API_KEY}'",
|
||||
"--build-arg='SIMPLECAST_ACCESS_TOKEN=${SIMPLECAST_ACCESS_TOKEN}'",
|
||||
"--build-arg='REVALIDATE_WEBHOOK_TOKEN=${REVALIDATE_WEBHOOK_TOKEN}'",
|
||||
["--build-arg='REVALIDATE_WEBHOOK_TOKEN=${REVALIDATE_WEBHOOK_TOKEN}'",
|
||||
"."].join(' ')
|
||||
)
|
||||
}
|
||||
@ -80,7 +73,7 @@ pipeline {
|
||||
cleanup { cleanWs() }
|
||||
always { script {
|
||||
def result = currentBuild.result.toLowerCase() ?: 'unknown'
|
||||
discordNotify(header: "Logos Press Engine Docker image build ${result}!")
|
||||
discordNotify(header: "IFT Docker image build ${result}!")
|
||||
} }
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +56,6 @@ $ yarn start
|
||||
|
||||
2. Make your changes, push them to the `origin`, and open a Pull Request against the `develop` branch.
|
||||
|
||||
3. After approval, merge the pull request, and verify the changes on the staging server (https://dev-press.logos.co/).
|
||||
3. After approval, merge the pull request, and verify the changes on the staging server (https://dev.logos.co/).
|
||||
|
||||
4. When ready to promote changes to the live website, create a pull request against the "master" branch, based on the "develop" branch.
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"short_name": "Network State Press",
|
||||
"name": "Network State Press",
|
||||
"short_name": "IFT",
|
||||
"name": "IFT",
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
|
@ -1,6 +1,6 @@
|
||||
export const getWebsiteUrl = () => {
|
||||
if (typeof window === 'undefined')
|
||||
return process.env.NEXT_PUBLIC_SITE_URL || 'https://dev-press.logos.co'
|
||||
return process.env.NEXT_PUBLIC_SITE_URL || 'https://dev.logos.co'
|
||||
|
||||
const url = new URL(window.location.href)
|
||||
return url.origin
|
||||
|
Loading…
x
Reference in New Issue
Block a user