fix: forceer HTTPS checkout actie
This commit is contained in:
1 parent
3bf9765917
commit
4852847e0f
1 file changed
+4
-3
@@ -3,16 +3,17 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
tags:
|
||||
- "v*"
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
if: startsWith(gitea.ref_name, 'v') == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
@@ -25,7 +26,7 @@ jobs:
|
||||
- name: Typecheck, lint, and test
|
||||
run: |
|
||||
set -e
|
||||
echo "--- CI checks starten ---"
|
||||
echo "--- CI checks starten via HTTPS ---"
|
||||
node scripts/check-node-toolchain.mjs
|
||||
|
||||
export SKIP_ENV_VALIDATION=1
|
||||
@@ -44,7 +45,7 @@ jobs:
|
||||
|
||||
deploy:
|
||||
needs: check
|
||||
if: gitea.event_name == 'push' && gitea.ref_name == 'main'
|
||||
if: gitea.event_name == 'push' && (gitea.ref_name == 'main' || gitea.ref_name == 'master')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code for deploy
|
||||
|
||||
Reference in new issue
Block a user