update
This commit is contained in:
@@ -7,22 +7,16 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
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
|
||||
uses: nkoppel/push-files-to-another-repository@v1.1.3
|
||||
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'
|
||||
run: git clone --single-branch --branch 'main'
|
||||
Reference in New Issue
Block a user