fix: corrigeer git remote paden voor docker runner
This commit is contained in:
1 parent
7f1482cd1e
commit
fcf3d62197
2 files changed
+10
No files matched your search
@@ -15,6 +15,8 @@ jobs:
|
|||||||
if: gitea.event_name == 'workflow_dispatch'
|
if: gitea.event_name == 'workflow_dispatch'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Fix Git safe directory
|
||||||
|
run: "git config --global --add safe.directory '*' && git remote set-url origin https://epicnabbo.nl || true"
|
||||||
- name: Install Bash in Alpine
|
- name: Install Bash in Alpine
|
||||||
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
||||||
- name: Read recent CMS runtime errors
|
- name: Read recent CMS runtime errors
|
||||||
@@ -34,6 +36,8 @@ jobs:
|
|||||||
if: startsWith(gitea.ref_name, 'v') == false
|
if: startsWith(gitea.ref_name, 'v') == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Fix Git safe directory
|
||||||
|
run: "git config --global --add safe.directory '*' && git remote set-url origin https://epicnabbo.nl || true"
|
||||||
- name: Install Bash in Alpine
|
- name: Install Bash in Alpine
|
||||||
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
||||||
- name: Typecheck, lint, and test
|
- name: Typecheck, lint, and test
|
||||||
@@ -78,6 +82,8 @@ jobs:
|
|||||||
if: gitea.event_name == 'push' && gitea.ref_name == 'main'
|
if: gitea.event_name == 'push' && gitea.ref_name == 'main'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Fix Git safe directory
|
||||||
|
run: "git config --global --add safe.directory '*' && git remote set-url origin https://epicnabbo.nl || true"
|
||||||
- name: Install Bash in Alpine
|
- name: Install Bash in Alpine
|
||||||
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
@@ -302,6 +308,8 @@ jobs:
|
|||||||
if: startsWith(gitea.ref_name, 'v')
|
if: startsWith(gitea.ref_name, 'v')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Fix Git safe directory
|
||||||
|
run: "git config --global --add safe.directory '*' && git remote set-url origin https://epicnabbo.nl || true"
|
||||||
- name: Install Bash in Alpine
|
- name: Install Bash in Alpine
|
||||||
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
||||||
- name: Build and deploy
|
- name: Build and deploy
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ jobs:
|
|||||||
renovate:
|
renovate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Fix Git safe directory
|
||||||
|
run: "git config --global --add safe.directory '*' && git remote set-url origin https://epicnabbo.nl || true"
|
||||||
- name: Install Bash in Alpine
|
- name: Install Bash in Alpine
|
||||||
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
|
|||||||
Reference in new issue
Block a user