Skip to content

Commit

Permalink
GHA CI: add deploy wiki script
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed May 1, 2024
1 parent 450cad2 commit b0f46bd
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
groups:
github-actions:
patterns:
- "*"
schedule:
interval: "monthly"
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b0f46bd

Please sign in to comment.