Skip to content

Add configuration

Add configuration #14

name: Push to remote repository on master branch update
on:
push:
branches: [ master ]
jobs:
push_changes:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Push to remote repository
run: |
git config user.name "github-actions"
git config user.email "[email protected]"
git remote add macopedia ${{ secrets.MACOPEDIA_REMOTE_REPO_URL }}
git push --set-upstream macopedia master