mirror of
https://tvoygit.ru/Djam/r11_workflows.git
synced 2025-02-23 08:52:46 +00:00
update
This commit is contained in:
parent
6f27983f5f
commit
dace9cadbc
1 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
name: CI/CD Pipeline
|
||||
version: '1'
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -10,6 +10,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
stage: build
|
||||
runs-on: r11_builder
|
||||
env:
|
||||
PUBLICATOR: ${{ secrets.PUBLICATOR }}
|
||||
|
@ -20,7 +21,7 @@ jobs:
|
|||
# with:
|
||||
# fetch-depth: 0
|
||||
|
||||
- name: git fetch
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git ${GITHUB_WORKSPACE}
|
||||
git checkout ${GITHUB_REF_NAME}
|
||||
|
@ -29,12 +30,12 @@ jobs:
|
|||
source .env
|
||||
echo "SPECFILE = ${SPECFILE}"
|
||||
|
||||
- name: _Debug Print environment variables
|
||||
- name: Debug Print environment variables
|
||||
run: |
|
||||
source .env
|
||||
env
|
||||
|
||||
- name: _Debug Current directory and files
|
||||
- name: Debug os version and check exists spec
|
||||
run: |
|
||||
cat /etc/*release*
|
||||
echo "check specfile" && [ -f ${SPECFILE} ] || exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue