Compare commits
4 Commits
c3570481c8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1992db65b8 | |||
| 32875e54a8 | |||
| 14eade0b7e | |||
| 1e2345323f |
@@ -30,7 +30,19 @@ jobs:
|
||||
image: node:22-alpine
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
env:
|
||||
GIT_SSL_NO_VERIFY: "1"
|
||||
run: |
|
||||
apk add --no-cache git
|
||||
SERVER="${{ github.server_url }}"
|
||||
REPO="${{ github.repository }}"
|
||||
TOKEN="${{ github.token }}"
|
||||
git clone --depth 1 \
|
||||
"https://x-access-token:${TOKEN}@${SERVER#https://}/${REPO}.git" \
|
||||
.
|
||||
git fetch --depth 1 origin "${{ github.sha }}"
|
||||
git checkout "${{ github.sha }}"
|
||||
shell: sh
|
||||
|
||||
- name: Cache npm dependencies
|
||||
uses: actions/cache@v4
|
||||
@@ -56,7 +68,19 @@ jobs:
|
||||
image: node:22-alpine
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
env:
|
||||
GIT_SSL_NO_VERIFY: "1"
|
||||
run: |
|
||||
apk add --no-cache git
|
||||
SERVER="${{ github.server_url }}"
|
||||
REPO="${{ github.repository }}"
|
||||
TOKEN="${{ github.token }}"
|
||||
git clone --depth 1 \
|
||||
"https://x-access-token:${TOKEN}@${SERVER#https://}/${REPO}.git" \
|
||||
.
|
||||
git fetch --depth 1 origin "${{ github.sha }}"
|
||||
git checkout "${{ github.sha }}"
|
||||
shell: sh
|
||||
|
||||
- name: Cache npm dependencies
|
||||
uses: actions/cache@v4
|
||||
@@ -96,7 +120,19 @@ jobs:
|
||||
url: ${{ vars.PRODUCTION_URL }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
env:
|
||||
GIT_SSL_NO_VERIFY: "1"
|
||||
run: |
|
||||
apk add --no-cache git
|
||||
SERVER="${{ github.server_url }}"
|
||||
REPO="${{ github.repository }}"
|
||||
TOKEN="${{ github.token }}"
|
||||
git clone --depth 1 \
|
||||
"https://x-access-token:${TOKEN}@${SERVER#https://}/${REPO}.git" \
|
||||
.
|
||||
git fetch --depth 1 origin "${{ github.sha }}"
|
||||
git checkout "${{ github.sha }}"
|
||||
shell: sh
|
||||
|
||||
- name: Install SSH and rsync
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user