From 924b22f2ca304c4c34e7a4e3e9cc2613ba4844a3 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 9 Jan 2025 15:34:10 -0500 Subject: [PATCH] fix: ignore Gitea Actions for now --- .gitea/workflows/prepare.yml | 39 ------------------------------------ 1 file changed, 39 deletions(-) delete mode 100644 .gitea/workflows/prepare.yml diff --git a/.gitea/workflows/prepare.yml b/.gitea/workflows/prepare.yml deleted file mode 100644 index cd4bdfb..0000000 --- a/.gitea/workflows/prepare.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Prepare changes for deployment. - -on: - push: - branches: - - 'main' - -jobs: - prepare: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - with: - token: ${{ secrets.SECRET }} - - - uses: actions/setup-node@v3 - with: - node-version: '16' - - - name: Install dependencies. - run: npm i -g terser csso-cli - - - name: "Copying changes over to build." - run: git checkout -b build - - - name: Minify files. - run: | - find . -name "*.js" -type f -exec terser {} -c -o {} \; - find . -name "*.css" -type f -exec csso {} -o {} \; - - - name: "Commiting changes." - run: | - git config user.name github-actions - git config user.email noreply@github.com - git commit -am "Preparing changes for deployment." - - - name: "Pushing changes." - run: git push -uf origin build