update
This commit is contained in:
@@ -7,22 +7,16 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
pushdoc:
|
||||||
name: push_file
|
name: push_file
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
|
env:
|
||||||
|
Greeting: Hello
|
||||||
run:
|
run:
|
||||||
working-directory: .
|
working-directory: .
|
||||||
steps:
|
steps:
|
||||||
- name: Setup credentials to access private repositories
|
- name: Setup credentials to access private repositories
|
||||||
run: git config --global url.https://${{ secrets.API_TOKEN_GITHUB }}@github.com/.insteadOf https://github.com/
|
run: git config --global url.https://${{ secrets.API_TOKEN_GITHUB }}@github.com/.insteadOf https://github.com/
|
||||||
- name: Push generated webpage to another repository
|
- name: Push generated webpage to another repository
|
||||||
uses: nkoppel/push-files-to-another-repository@v1.1.3
|
run: git clone --single-branch --branch 'main'
|
||||||
env:
|
|
||||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
|
||||||
with:
|
|
||||||
source-files: 'DOC.md'
|
|
||||||
destination-username: 'dutchie032'
|
|
||||||
destination-repository: 'dutchie032.github.io'
|
|
||||||
destination-directory: 'spearhead'
|
|
||||||
commit-email: 'timrorije@gmail.com'
|
|
||||||
Reference in New Issue
Block a user