update
This commit is contained in:
@@ -10,13 +10,15 @@ jobs:
|
|||||||
pushdoc:
|
pushdoc:
|
||||||
name: push_file
|
name: push_file
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
|
||||||
env:
|
env:
|
||||||
Greeting: Hello
|
branch: main
|
||||||
|
username: dutchie032
|
||||||
|
repo: dutchie032.github.io
|
||||||
|
defaults:
|
||||||
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
|
||||||
run: git clone --single-branch --branch 'main'
|
run: git clone --single-branch --branch $branch https://github.com/$username/$repo
|
||||||
Reference in New Issue
Block a user