mirror of
https://github.com/qbittorrent/wiki.git
synced 2024-10-06 23:23:24 +00:00
GHA CI: add deploy wiki script
This commit is contained in:
parent
450cad263d
commit
b0f46bd284
11
.github/dependabot.yml
vendored
Normal file
11
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
version: 2
|
||||
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
groups:
|
||||
github-actions:
|
||||
patterns:
|
||||
- "*"
|
||||
schedule:
|
||||
interval: "monthly"
|
28
.github/workflows/deploy.yaml
vendored
Normal file
28
.github/workflows/deploy.yaml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: Deploy wiki
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: ${{ github.head_ref != '' }}
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy wiki
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # full depth
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
git push https://${{ secrets.ACCESS_TOKEN }}@github.com/qbittorrent/qBittorrent.wiki.git --force
|
Loading…
Reference in New Issue
Block a user