Enable pipeline
This commit is contained in:
52
.gitea/workflows/mkdocs.yaml
Normal file
52
.gitea/workflows/mkdocs.yaml
Normal file
@@ -0,0 +1,52 @@
|
||||
name: Gitea Actions Demo Mkdocs
|
||||
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
|
||||
# Which git events can trigger this
|
||||
on: [push]
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
# Runner to use
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- uses: https://github.com/actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
# cache: 'pip'
|
||||
- name: Execute a shell script
|
||||
run: |
|
||||
ls -l ${{ github.workspace }}
|
||||
cd slides
|
||||
# pip3 install -r requirements.txt
|
||||
#./build.sh once
|
||||
mount
|
||||
df
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
|
||||
# before_script:
|
||||
# - pip install mkdocs-glightbox
|
||||
|
||||
# test:
|
||||
# stage: test
|
||||
# script:
|
||||
# - mkdocs build --strict --verbose --site-dir test
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - test
|
||||
# rules:
|
||||
# - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
||||
|
||||
# pages:
|
||||
# stage: deploy
|
||||
# script:
|
||||
# - mkdocs build --strict --verbose --site-dir public
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - public
|
||||
# rules:
|
||||
# - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
30
.gitea/workflows/renovate.yaml
Normal file
30
.gitea/workflows/renovate.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
name: renovate
|
||||
|
||||
on:
|
||||
# schedule:
|
||||
# - cron: "@daily"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/renovatebot/renovate:38.18.10
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: renovate
|
||||
env:
|
||||
LOG_LEVEL: "info"
|
||||
# Use private gitea
|
||||
RENOVATE_ENDPOINT: "https://git.verleun.org/api/v1"
|
||||
# Set the author for commits
|
||||
RENOVATE_GIT_AUTHOR: "Renovate Bot <renovate-bot@verleun.org>"
|
||||
# Authenticate with token
|
||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||
# Used to retrieve release notes
|
||||
GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
RENOVATE_PLATFORM: "gitea"
|
||||
RENOVATE_AUTODISCOVER: "false"
|
||||
# Define repo based on gitea vars
|
||||
RENOVATE_REPOSITORIES: "${{ gitea.repository }}"
|
||||
32
.gitea/workflows/super-linter.yaml
Normal file
32
.gitea/workflows/super-linter.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
name: Lint
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push: null
|
||||
pull_request: null
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
# To report GitHub Actions status checks
|
||||
statuses: write
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
# super-linter needs the full git history to get the
|
||||
# list of files that changed across commits
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Super-linter
|
||||
uses: super-linter/super-linter@v6.8.0 # x-release-please-version
|
||||
env:
|
||||
DEFAULT_BRANCH: main
|
||||
# To report GitHub Actions status checks
|
||||
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user