-
Notifications
You must be signed in to change notification settings - Fork 8
27 lines (25 loc) · 871 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Push to fork solar-mach/solar-mach.github.io
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
container: pandoc/latex # "ubuntu" is a more generic container
# using "pandoc/latex" because of dependencies
# used in the specific "build.sh"
steps:
- uses: actions/checkout@v4
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: .
destination-github-username: 'solar-mach'
destination-repository-name: 'Solar-MACH.github.io'
user-name: jgieseler
# user-email: [email protected]
target-branch: master