darkmode fix #134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to public fork | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
publish: | |
if: ${{ github.repository_owner != 'allegro' }} | |
runs-on: [ubuntu-latest, self-hosted] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: rebase public fork | |
run: git remote add public https://github.com/allegro/blog.git && git pull public main && git push "https://[email protected]/allegro/blog.git" HEAD -f | |
env: | |
REPO_TOKEN: ${{ secrets.REPO_TOKEN }} |