forked from blizzthewolf/SeaCogs
Merge branch 'main' into updatechecker
This commit is contained in:
commit
eaabd4cd04
1 changed files with 14 additions and 6 deletions
|
@ -14,13 +14,18 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- uses: actions/env@v2
|
||||||
|
- name: Set branch name
|
||||||
|
run: echo "BRANCH=$CI_ACTION_REF_NAME_SLUG" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: poetry install --with docs --with dev --no-root
|
||||||
poetry install --with docs --with dev --no-root
|
|
||||||
- name: Build the documentation
|
- name: Build the documentation
|
||||||
run: |
|
run: mkdocs build
|
||||||
mkdocs build
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Deploy the documentation to Meli (CoastalCommits Pages)
|
- name: Deploy the documentation to Meli (CoastalCommits Pages)
|
||||||
run: |
|
run: |
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
|
@ -30,9 +35,12 @@ jobs:
|
||||||
unset GITHUB_TOKEN
|
unset GITHUB_TOKEN
|
||||||
unset GITLAB_TOKEN
|
unset GITLAB_TOKEN
|
||||||
|
|
||||||
|
|
||||||
|
echo "branch = $branch"
|
||||||
echo "github.ref = ${{ github.ref }}"
|
echo "github.ref = ${{ github.ref }}"
|
||||||
echo "github.base_ref = ${{ github.base_ref }}"
|
echo "github.base_ref = ${{ github.base_ref }}"
|
||||||
echo "github.ref_name = ${{ github.ref_name }}"
|
echo "github.ref_name = ${{ github.ref_name }}"
|
||||||
|
echo "(Basename) branch = $(basename "$branch")"
|
||||||
echo "(Basename) github.ref = $(basename "${{ github.ref }}")"
|
echo "(Basename) github.ref = $(basename "${{ github.ref }}")"
|
||||||
echo "(Basename) github.base_ref = $(basename "${{ github.base_ref }}")"
|
echo "(Basename) github.base_ref = $(basename "${{ github.base_ref }}")"
|
||||||
echo "(Basename) github.ref_name = $(basename "${{ github.ref_name }}")"
|
echo "(Basename) github.ref_name = $(basename "${{ github.ref_name }}")"
|
||||||
|
@ -56,6 +64,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Analysing the code with Pylint
|
- name: Analysing the code with Pylint
|
||||||
run: |
|
run: pylint --rcfile .forgejo/workflows/config/.pylintrc $(git ls-files '*.py')
|
||||||
pylint --rcfile .forgejo/workflows/config/.pylintrc $(git ls-files '*.py')
|
|
||||||
|
|
Loading…
Reference in a new issue