From fc1ec2b5e9fd231bef76825b2d759c5633b4cf5c Mon Sep 17 00:00:00 2001 From: maxkey52 Date: Sun, 1 Mar 2026 18:19:57 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20pages.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 pages.yml diff --git a/pages.yml b/pages.yml deleted file mode 100644 index ebacd9e..0000000 --- a/pages.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Deploy Pages - -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: self-hosted - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set variables - id: vars - run: | - echo "USERNAME=${GITHUB_REPOSITORY_OWNER}" >> $GITHUB_OUTPUT - echo "REPO=${GITHUB_REPOSITORY#*/}" >> $GITHUB_OUTPUT - - - name: Deploy to pages directory - run: | - USERNAME=${{ steps.vars.outputs.USERNAME }} - REPO=${{ steps.vars.outputs.REPO }} - - TARGET=/data/pages/$USERNAME/$REPO - - mkdir -p $TARGET - rm -rf $TARGET/* - cp -r ./* $TARGET/ \ No newline at end of file