test
All checks were successful
/ secret_test (push) Successful in 0s

This commit is contained in:
Yann Kervran 2024-04-19 09:49:50 +02:00
parent 48229ddbc7
commit 2955d2aded

View file

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