use dynamic variables from actions
This commit is contained in:
@@ -24,24 +24,15 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: "https://gitea.lab.mikayla.dev"
|
default: "https://gitea.lab.mikayla.dev"
|
||||||
|
|
||||||
env:
|
|
||||||
MONGO_URI: $INPUT_MONGO_URI
|
|
||||||
DB_NAME: $INPUT_DB_NAME
|
|
||||||
GITHUB_SERVER_URL: $INPUT_GITHUB_SERVER_URL
|
|
||||||
REPOSITORY: $INPUT_REPOSITORY
|
|
||||||
GCP_CLIENT_ID: ${{ secrets.GCP_CLIENT_ID }}
|
|
||||||
GCP_CLIENT_SECRET: ${{ secrets.GCP_CLIENT_SECRET }}
|
|
||||||
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
github-server-url: $GITHUB_SERVER_URL
|
github-server-url: ${{ gitea.event.inputs.github-server-url }}
|
||||||
repository: $INPUT_REPOSITORY
|
repository: ${{ gitea.event.inputs.repository }}
|
||||||
ref: $INPUT_BRANCH
|
ref: ${{ gitea.event.inputs.branch }}
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user