From 213c54f30041274e68dbb3074ee48ae74dd7292d Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 29 Sep 2024 14:25:28 -0700 Subject: [PATCH] Replacing checkout action --- .gitea/workflows/build-and-deploy.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml index 89e430e..622974d 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -10,10 +10,9 @@ jobs: container: image: shockrah/hugo steps: - - name: Checkout repository resources - uses: actions/checkout@v4 - with: - lfs: true + - run: git init + - run: git remote add origin https://git.shockrah.xyz/shockrah/resume.git + - run: git pull origin main - name: Build website content run: hugo && pwd && ls -R - name: Copy files with rsync