From 23d9b73b8f4424203f661730594daa3dbc3d0459 Mon Sep 17 00:00:00 2001 From: dutchie032 Date: Tue, 24 Sep 2024 09:52:17 +0200 Subject: [PATCH] update --- .github/workflows/docs.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ee43ef0..2fa8f27 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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' \ No newline at end of file + run: git clone --single-branch --branch 'main' \ No newline at end of file