diff --git a/.gitea/workflows/update_site.yml b/.gitea/workflows/update_site.yml index 290d638..2694245 100644 --- a/.gitea/workflows/update_site.yml +++ b/.gitea/workflows/update_site.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@v4 with: path: content - - name: Clone repository + - name: Update repository run: | git clone https://x-access-token:${GH_TOKEN}@github.com/craisined/public-notes-quartz.git rm -rf public-notes-quartz/content/* @@ -26,6 +26,6 @@ jobs: exit 0 fi git commit -m "Update content" - git push origin master + git push env: GH_TOKEN: ${{secrets.GH_TOKEN}} \ No newline at end of file