Skip to content

Wiki Backup #231

Wiki Backup

Wiki Backup #231

Workflow file for this run

name: Wiki Backup
on:
#schedule:
# - cron: '30 19 * * *'
gollum:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
# Week number and year
run: echo "::set-output name=date::$(date +%Y-wk%U)"
- name: Backup wiki
uses: Mine02C4/auto_backup_wiki_action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
target_branch: wiki-${{ steps.date.outputs.date }}