Skip to content

memo: Amazing Alex #243

memo: Amazing Alex

memo: Amazing Alex #243

name: 'Mirror to eu.org'
on:
push:
workflow_dispatch:
jobs:
mirror:
runs-on: ubuntu-latest
name: mirror
steps:
- name: 'Checkout'
uses: actions/checkout@v4
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 github-actions-sync@github.com
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