Skip to content

fix: remove more filename colons (#27) #16

fix: remove more filename colons (#27)

fix: remove more filename colons (#27) #16

Workflow file for this run

name: Publish to Wiki
on:
push:
paths:
- wiki/**
branches:
- mainline
jobs:
PublishToWiki:
name: Publish to Wiki
runs-on: ubuntu-latest
environment: release
env:
WIKI_REPO: "https://${{ secrets.CI_TOKEN }}@github.com/OpenJobDescription/openjd-specifications.wiki.git"
steps:
- uses: actions/checkout@v4
- name: "Clone wiki contents"
run: |
git config --global user.email ${{ secrets.EMAIL }}
git config --global user.name ${{ secrets.USER }}
git clone ${{ env.WIKI_REPO }} tmp_wiki
- name: "Push new content to wiki"
run: |
rsync -av --delete wiki/ tmp_wiki/ --exclude .git --exclude '*.drawio' --exclude README.md
cd tmp_wiki
git add .
git commit -m "${{ github.event.head_commit.message }}"
git push origin master
rm -rf tmp_wiki