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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.jonb.io
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.JONBIO_CI }}
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: git.jonb.io/jblu/jonbio:latest
|
||||
# -
|
||||
# name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v3
|
||||
# -
|
||||
# name: Login to Docker Hub
|
||||
# uses: docker/login-action@v3
|
||||
# with:
|
||||
# registry: git.jonb.io
|
||||
# username: ${{ gitea.actor }}
|
||||
# password: ${{ secrets.JONBIO_CI }}
|
||||
# -
|
||||
# name: Build and push
|
||||
# uses: docker/build-push-action@v6
|
||||
# with:
|
||||
# push: true
|
||||
# tags: git.jonb.io/jblu/jonbio:latest
|
||||
-
|
||||
name: Deploy App
|
||||
uses: fjogeleit/http-request-action@v1
|
||||
@ -35,4 +35,4 @@ jobs:
|
||||
url: 'http://192.168.4.11:7777/v1/update'
|
||||
method: 'GET'
|
||||
bearerToken: ${{ secrets.DEPLOYTOKEN }}
|
||||
preventFailureOnNoResponse: 'true'
|
||||
# preventFailureOnNoResponse: 'true'
|
||||
|
@ -10,7 +10,7 @@ import Tag from '@/components/Tag'
|
||||
import siteMetadata from '@/data/siteMetadata'
|
||||
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) =>
|
||||
`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
|
||||
</Link>
|
||||
{` • `}
|
||||
<Link href={editUrl(filePath)}>View on GitHub</Link>
|
||||
<Link href={editUrl(filePath)}>View on gitea</Link>
|
||||
</div>
|
||||
{siteMetadata.comments && (
|
||||
<div
|
||||
|
Loading…
x
Reference in New Issue
Block a user