Skip to content

Create environment-hub.yml (#284) #373

Create environment-hub.yml (#284)

Create environment-hub.yml (#284) #373

Workflow file for this run

name: Backup Git repository
on:
workflow_dispatch:
push:
branches:
- master
jobs:
BackupGit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: backup
uses: jenkins-zh/git-backup-actions@v0.0.8
env:
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
TARGET_GIT: "git@gitee.com:linuxsuren/hd-home.git"
BRANCH: master
UpdateReadme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update readme
uses: linuxsuren/yaml-readme@v0.0.16
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
with:
pattern: 'config/*/*.yml'
username: linuxsuren
org: linuxsuren
repo: hd-home
sortby: filename