1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Directly clone the document repo.

This commit is contained in:
Greg King 2022-06-17 12:58:56 -04:00
parent 997c67de35
commit 43c0f5ecd7

View File

@ -43,14 +43,6 @@ jobs:
- shell: bash
run: git config --global core.autocrlf input
- name: Get the online documents repo.
uses: actions/checkout@v2
with:
repository: cc65/doc
token: ${{ github.token }}
path: ../doc.git
- name: Checkout Source
uses: actions/checkout@v2
@ -106,10 +98,10 @@ jobs:
- name: Update the online documents.
run: |
pwd
cd ../doc.git
git clone --depth 1 https://${{ secrets.GITHUB_TOKEN }}@github.com/cc65/doc.git doc.git
cd doc.git
rm *.*
cp ../cc65/html/*.* .
cp ../html/*.* .
git config user.name "cc65-github"
git config user.email "cc65.nomail@github.com"
git config push.default simple