fix(workflow): ???
Some checks failed
Build Documentation and Lint Code / build and lint (push) Failing after 0s

This commit is contained in:
Seaswimmer 2024-01-07 12:36:14 +00:00
parent 1576ac5d73
commit 909ad1748e
Signed by: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -14,17 +14,18 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set Environment Variable
uses: actions/env@v2
run: |
echo "BRANCH=$CI_ACTION_REF_NAME_SLUG" >> $GITHUB_ENV
run: echo "BRANCH=$CI_ACTION_REF_NAME_SLUG" >> $GITHUB_ENV
- name: Install dependencies
run: |
poetry install --with docs --with dev --no-root
run: poetry install --with docs --with dev --no-root
- name: Build the documentation
run: |
mkdocs build
run: mkdocs build
continue-on-error: true
- name: Deploy the documentation to Meli (CoastalCommits Pages)
run: |
GREEN='\033[0;32m'
@ -35,11 +36,11 @@ jobs:
unset GITLAB_TOKEN
echo "branch = $branch"
echo "branch = ${{ branch }}"
echo "github.ref = ${{ github.ref }}"
echo "github.base_ref = ${{ github.base_ref }}"
echo "github.ref_name = ${{ github.ref_name }}"
echo "(Basename) branch = $(basename "$branch")
echo "(Basename) branch = $(basename "${{ branch }}")"
echo "(Basename) github.ref = $(basename "${{ github.ref }}")"
echo "(Basename) github.base_ref = $(basename "${{ github.base_ref }}")"
echo "(Basename) github.ref_name = $(basename "${{ github.ref_name }}")"
@ -63,6 +64,6 @@ jobs:
env:
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
continue-on-error: true
- name: Analysing the code with Pylint
run: |
pylint --rcfile .forgejo/workflows/config/.pylintrc $(git ls-files '*.py')
run: pylint --rcfile .forgejo/workflows/config/.pylintrc $(git ls-files '*.py')