-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0872630
commit f573c99
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,6 @@ jobs: | |
- name: Run build scripts | ||
run: | | ||
./01-PREPARE-FOR-EDITS.sh | ||
echo "going to sleep for 999999 units of time" | ||
eval "$(ssh-agent -s)" | ||
ssh-keyscan -t ed25519 github.com > ~/.ssh/known_hosts | ||
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}" | ||
|
@@ -66,10 +65,13 @@ jobs: | |
- name: Commit and push changes | ||
run: | | ||
cd gh-pages | ||
git config --global user.name 'github-actions' | ||
git config --global user.email '[email protected]' | ||
# git config --global user.name 'github-actions' | ||
# git config --global user.email '[email protected]' | ||
git add . | ||
eval "$(ssh-agent -s)" | ||
ssh-keyscan -t ed25519 github.com > ~/.ssh/known_hosts | ||
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}" | ||
git commit -m "Update GitHub Pages" | ||
# git push origin docs | ||
git push origin docs | ||
# try the x-access url | ||
git push https://x-access-token:${{ secrets.ORG_PAT }}@github.com/zml/zml.git docs | ||
# git push https://x-access-token:${{ secrets.ORG_PAT }}@github.com/zml/zml.git docs |