ensure actions is using the correct base server for git
This commit is contained in:
@@ -19,10 +19,16 @@ inputs:
|
|||||||
description: "Branch to deploy for this job"
|
description: "Branch to deploy for this job"
|
||||||
required: false
|
required: false
|
||||||
default: ${{ gitea.ref_name }}
|
default: ${{ gitea.ref_name }}
|
||||||
|
GITHUB_SERVER_URL:
|
||||||
|
description: "Github server where this repository is hosted"
|
||||||
|
required: false
|
||||||
|
default: "https://gitea.lab.mikayla.dev"
|
||||||
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
MONGO_URI: $INPUT_MONGO_URI
|
MONGO_URI: $INPUT_MONGO_URI
|
||||||
DB_NAME: $INPUT_DB_NAME
|
DB_NAME: $INPUT_DB_NAME
|
||||||
|
GITHUB_SERVER_URL: $GITHUB_SERVER_URL
|
||||||
GCP_CLIENT_ID: ${{ secrets.GCP_CLIENT_ID }}
|
GCP_CLIENT_ID: ${{ secrets.GCP_CLIENT_ID }}
|
||||||
GCP_CLIENT_SECRET: ${{ secrets.GCP_CLIENT_SECRET }}
|
GCP_CLIENT_SECRET: ${{ secrets.GCP_CLIENT_SECRET }}
|
||||||
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
|
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
|
||||||
@@ -37,6 +43,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
github-server-url: $GITHUB_SERVER_URL
|
||||||
repository: $REPOSITORY
|
repository: $REPOSITORY
|
||||||
ref: $BRANCH
|
ref: $BRANCH
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user