From dc0ed43652d7560e3c47568742eab37ba364afe5 Mon Sep 17 00:00:00 2001 From: Fishandchips321 Date: Wed, 18 Feb 2026 16:30:42 +0000 Subject: [PATCH] feat(workflow): added manual deploy workflow --- .gitea/workflows/ManualPushToNeocities.yaml | 26 +++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/ManualPushToNeocities.yaml diff --git a/.gitea/workflows/ManualPushToNeocities.yaml b/.gitea/workflows/ManualPushToNeocities.yaml new file mode 100644 index 0000000..bd56aa4 --- /dev/null +++ b/.gitea/workflows/ManualPushToNeocities.yaml @@ -0,0 +1,26 @@ +name: Manual push to live +run-name: ${{ gitea.actor }} is manually deploying to neocities +on: workflow_dispatch + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 20 + - name: Install dependencies + run: npm ci + - name: Build Vite site + run: npm run build + - name: Deploy to neocities + uses: bcomnes/deploy-to-neocities@v3 + with: + api_key: ${{ secrets.NEOCITIES_API_TOKEN }} + cleanup: false + neocities_supporter: false + preview_before_deploy: true + dist_dir: dist