Skip to content

misc: make edit post directly #108

misc: make edit post directly

misc: make edit post directly #108

name: 'Mirror to eu.org'
on:
push:
workflow_dispatch:
jobs:
mirror:
runs-on: ubuntu-latest
name: mirror
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: 'Modify'
run: |
rm .github/workflows/mirror-to-euorg.yml
echo "blog.lyniko.eu.org" > CNAME
git config user.name github-actions-sync
git config user.email [email protected]
git add .
git commit --amend --no-edit
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GH_TOKEN }}
branch: ${{ github.ref }}
repository: Young-Lord-Blogs/Blog-eu.org
force: true