deploy app test
All checks were successful
Build and Deploy docker container / build (push) Successful in 34s
All checks were successful
Build and Deploy docker container / build (push) Successful in 34s
This commit is contained in:
parent
a27431ef21
commit
97c99e4ed8
@ -12,22 +12,22 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
# -
|
||||||
name: Set up Docker Buildx
|
# name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
# uses: docker/setup-buildx-action@v3
|
||||||
-
|
# -
|
||||||
name: Login to Docker Hub
|
# name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
with:
|
# with:
|
||||||
registry: git.jonb.io
|
# registry: git.jonb.io
|
||||||
username: ${{ gitea.actor }}
|
# username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.JONBIO_CI }}
|
# password: ${{ secrets.JONBIO_CI }}
|
||||||
-
|
# -
|
||||||
name: Build and push
|
# name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
# uses: docker/build-push-action@v6
|
||||||
with:
|
# with:
|
||||||
push: true
|
# push: true
|
||||||
tags: git.jonb.io/jblu/jonbio:latest
|
# tags: git.jonb.io/jblu/jonbio:latest
|
||||||
-
|
-
|
||||||
name: Deploy App
|
name: Deploy App
|
||||||
uses: fjogeleit/http-request-action@v1
|
uses: fjogeleit/http-request-action@v1
|
||||||
@ -35,4 +35,4 @@ jobs:
|
|||||||
url: 'http://192.168.4.11:7777/v1/update'
|
url: 'http://192.168.4.11:7777/v1/update'
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
bearerToken: ${{ secrets.DEPLOYTOKEN }}
|
bearerToken: ${{ secrets.DEPLOYTOKEN }}
|
||||||
preventFailureOnNoResponse: 'true'
|
# preventFailureOnNoResponse: 'true'
|
||||||
|
@ -10,7 +10,7 @@ import Tag from '@/components/Tag'
|
|||||||
import siteMetadata from '@/data/siteMetadata'
|
import siteMetadata from '@/data/siteMetadata'
|
||||||
import ScrollTopAndComment from '@/components/ScrollTopAndComment'
|
import ScrollTopAndComment from '@/components/ScrollTopAndComment'
|
||||||
|
|
||||||
const editUrl = (path) => `${siteMetadata.siteRepo}/blob/main/data/${path}`
|
const editUrl = (path) => `${siteMetadata.siteRepo}/src/branch/main/data/${path}`
|
||||||
const discussUrl = (path) =>
|
const discussUrl = (path) =>
|
||||||
`https://mobile.twitter.com/search?q=${encodeURIComponent(`${siteMetadata.siteUrl}/${path}`)}`
|
`https://mobile.twitter.com/search?q=${encodeURIComponent(`${siteMetadata.siteUrl}/${path}`)}`
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
|
|||||||
Discuss on Twitter
|
Discuss on Twitter
|
||||||
</Link>
|
</Link>
|
||||||
{` • `}
|
{` • `}
|
||||||
<Link href={editUrl(filePath)}>View on GitHub</Link>
|
<Link href={editUrl(filePath)}>View on gitea</Link>
|
||||||
</div>
|
</div>
|
||||||
{siteMetadata.comments && (
|
{siteMetadata.comments && (
|
||||||
<div
|
<div
|
||||||
|
Loading…
x
Reference in New Issue
Block a user