From c44a23d18e55b29acb4017cde9e12fc2e8d6186a Mon Sep 17 00:00:00 2001 From: kossLAN Date: Sat, 6 Jun 2026 23:11:24 -0400 Subject: [PATCH] remove workflows, add .envrc to ignore --- .forgejo/workflows/release.yml | 74 ---------------------------------- .gitignore | 1 + 2 files changed, 1 insertion(+), 74 deletions(-) delete mode 100644 .forgejo/workflows/release.yml diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml deleted file mode 100644 index b401b6e..0000000 --- a/.forgejo/workflows/release.yml +++ /dev/null @@ -1,74 +0,0 @@ -name: Release Site - -on: - push: - tags: - - "v*" - workflow_dispatch: - inputs: - wry_ref: - description: "Branch, tag, or commit to build from in the Wry repository" - required: false - default: "workspace-refactor" - -jobs: - release: - runs-on: docker - steps: - - name: Checkout docs - uses: https://data.forgejo.org/actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Checkout Wry - shell: bash - run: | - set -euo pipefail - mkdir -p ~/.ssh - printf '%s\n' "${{ secrets.WRY_DEPLOY_KEY }}" > ~/.ssh/wry_deploy_key - chmod 600 ~/.ssh/wry_deploy_key - ssh-keyscan git.wry.land >> ~/.ssh/known_hosts - - WRY_REF="${{ inputs.wry_ref }}" - if [ -z "$WRY_REF" ]; then - WRY_REF="workspace-refactor" - fi - - GIT_SSH_COMMAND="ssh -i ~/.ssh/wry_deploy_key -o IdentitiesOnly=yes" \ - git clone --depth 1 --branch "$WRY_REF" \ - ssh://forgejo@git.wry.land/kossLAN/wry.git _wry - - - name: Setup Node - uses: https://data.forgejo.org/actions/setup-node@v6 - with: - node-version: 24 - cache: pnpm - cache-dependency-path: pnpm-lock.yaml - - - name: Install dependencies - shell: bash - run: | - set -euo pipefail - corepack enable - pnpm install --frozen-lockfile - - - name: Build site - shell: bash - run: | - set -euo pipefail - WRY_REPO_PATH="$PWD/_wry" pnpm run build - - - name: Package release assets - shell: bash - run: | - set -euo pipefail - TAG="${{ forge.ref_name }}" pnpm run release:pack - - - name: Upload Forgejo release - uses: https://data.forgejo.org/actions/forgejo-release@v2.13.0 - with: - direction: upload - tag: ${{ forge.ref_name }} - release-dir: dist/release - release-notes-file: dist/release/RELEASE_NOTES.md - override: true diff --git a/.gitignore b/.gitignore index 3523efc..6d8df08 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ yarn-debug.log* yarn-error.log* # Nix shell helpers +.envrc .direnv/ result result-*