From 0dc57df0a2f353f7bb48053dae337abf76e00280 Mon Sep 17 00:00:00 2001 From: fzorb Date: Sun, 22 Sep 2024 13:59:44 +0300 Subject: [PATCH] Delete .gitea/workflows/action.yml --- .gitea/workflows/action.yml | 38 ------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .gitea/workflows/action.yml diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml deleted file mode 100644 index dc01561..0000000 --- a/.gitea/workflows/action.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: pipeline - -on: - push: - branches: - - main - -jobs: - deploy-job: - runs-on: ubuntu-latest - steps: - - name: init env - run: | - sudo apt-get update - sudo apt-get install -y lftp hugo git - - - name: init git - run: | - git clone https://git.fzorb.xyz/bokku/website - cd website - git submodule foreach --recursive git reset --hard - git submodule init - git submodule update --recursive - - name: generate site - run: | - ls -a - cd website - ls -a - hugo - cd .. - - - name: init ftp and delete old files - run: | - lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -e "set ssl:verify-certificate no; rm -rf /www; bye" ftp://107.189.28.28 - - - name: upload new files via ftp - run: | - lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -e "set ssl:verify-certificate no;mirror -R website/public /www; bye" ftp://107.189.28.28 \ No newline at end of file