mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-03 06:16:08 +00:00
Dependabot and README
This commit is contained in:
22
.github/dependabot.yml
vendored
Normal file
22
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
target-branch: "master"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
commit-message:
|
||||
prefix: "👷 gh-actions"
|
||||
labels:
|
||||
- "dependencies"
|
||||
- package-ecosystem: "gitsubmodule"
|
||||
directory: "/"
|
||||
target-branch: "master"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
allow:
|
||||
- dependency-name: "themes/hextra"
|
||||
commit-message:
|
||||
prefix: "🎨 Theme"
|
||||
labels:
|
||||
- "dependencies"
|
||||
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
@@ -2,6 +2,8 @@ name: Deploy
|
||||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy
|
||||
@@ -10,9 +12,12 @@ jobs:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: '0.147.8'
|
||||
|
||||
@@ -28,9 +33,6 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
#sudo apt update
|
||||
#sudo apt install -y git
|
||||
git submodule update --init
|
||||
hugo --minify
|
||||
cd public; tar czf x *
|
||||
scp x ${{ secrets.NAME }}@${{ secrets.HOST }}:/tmp/
|
||||
|
||||
Reference in New Issue
Block a user