parent
48229ddbc7
commit
2955d2aded
1 changed files with 29 additions and 28 deletions
|
@ -1,35 +1,36 @@
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
# test:
|
||||||
runs-on: bookworm
|
# runs-on: bookworm
|
||||||
container: minidocks/mkdocs
|
# container: minidocks/mkdocs
|
||||||
steps:
|
# steps:
|
||||||
- name: Add NodeJs & Git
|
# - name: Add NodeJs & Git
|
||||||
run: |
|
# run: |
|
||||||
uname -a
|
# uname -a
|
||||||
apk add nodejs npm git
|
# apk add nodejs npm git
|
||||||
- name: Checkout repository with git
|
# - name: Checkout repository with git
|
||||||
run: |
|
# run: |
|
||||||
git clone --depth 1 https://git.numenaute.org/YannK/Actions_tests.git
|
# git clone --depth 1 https://git.numenaute.org/YannK/Actions_tests.git
|
||||||
# uses: actions/checkout@v4
|
# # uses: actions/checkout@v4
|
||||||
# with:
|
# # with:
|
||||||
# github-server-url: https://git.numenaute.org/
|
# # github-server-url: https://git.numenaute.org/
|
||||||
- name: Show content
|
# - name: Show content
|
||||||
run: |
|
# run: |
|
||||||
pwd
|
# pwd
|
||||||
ls -al
|
# ls -al
|
||||||
- name: Compile mkdocs
|
# - name: Compile mkdocs
|
||||||
run: |
|
# run: |
|
||||||
cd Actions_tests
|
# cd Actions_tests
|
||||||
mkdocs build
|
# mkdocs build
|
||||||
- name: 'Upload Artifact'
|
# - name: 'Upload Artifact'
|
||||||
uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: Mkdocs_files
|
# name: Mkdocs_files
|
||||||
path: /workspace/YannK/Actions_tests/Actions_tests/site
|
# path: /workspace/YannK/Actions_tests/Actions_tests/site
|
||||||
|
|
||||||
secret_test:
|
secret_test:
|
||||||
runs-on: bookworm
|
runs-on: bookworm
|
||||||
step:
|
steps:
|
||||||
- name: Test de secret
|
- name: Test de secret
|
||||||
run: |
|
run: |
|
||||||
echo {{ secrets.CD_SECRET_NUMBER_1 }}
|
echo {{ secrets.CD_SECRET_NUMBER_1 }}
|
Loading…
Reference in a new issue