22 lines
496 B
YAML
22 lines
496 B
YAML
#start
|
|
|
|
name: update newsletters
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
pushdoc:
|
|
name: push_file
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
env:
|
|
Greeting: Hello
|
|
run:
|
|
working-directory: .
|
|
steps:
|
|
- name: Setup credentials to access private repositories
|
|
run: git config --global url.https://${{ secrets.API_TOKEN_GITHUB }}@github.com/.insteadOf https://github.com/
|
|
- name: Push generated webpage to another repository
|
|
run: git clone --single-branch --branch 'main' |