From 91caf703dc686a6ac84b3341063ac82b1c0eb4c1 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Mon, 9 Feb 2026 15:38:26 -0300 Subject: [PATCH] chore(ci): remove github workflows --- .github/workflows/check.yml | 34 ---------------- .github/workflows/deploy-pr-preview.yml | 53 ------------------------- .github/workflows/deploy-preview.yml | 48 ---------------------- .github/workflows/deploy.yml | 48 ---------------------- .gitmodules | 6 +++ smalltrip | 1 + x | 1 + 7 files changed, 8 insertions(+), 183 deletions(-) delete mode 100644 .github/workflows/check.yml delete mode 100644 .github/workflows/deploy-pr-preview.yml delete mode 100644 .github/workflows/deploy-preview.yml delete mode 100644 .github/workflows/deploy.yml create mode 100644 .gitmodules create mode 160000 smalltrip create mode 160000 x diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml deleted file mode 100644 index e90fbed..0000000 --- a/.github/workflows/check.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Checks - -on: - push: - branches: - - main - pull_request: - branches: - - main - types: - - opened - - synchronize - - reopened - -jobs: - lint: - name: Lint - if: ${{ github.repository == 'dot013/.www' }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup go - uses: actions/setup-go@v5 - with: - go-version: '1.22.2' - - name: Generate templ - run: | - go install github.com/a-h/templ/cmd/templ@latest - make templ - - name: Check - uses: golangci/golangci-lint-action@v6 - with: - version: v1.58 diff --git a/.github/workflows/deploy-pr-preview.yml b/.github/workflows/deploy-pr-preview.yml deleted file mode 100644 index e376873..0000000 --- a/.github/workflows/deploy-pr-preview.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Deploy PR preview to Vercel - -on: - pull_request: - branches: - - main - - dev - types: - - opened - - synchronize - - reopened - -jobs: - deploy: - name: Deploy preview - if: ${{ github.repository == 'dot013/.www' }} - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - deployments: write - strategy: - matrix: - node-version: [20] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup pnpm - uses: pnpm/action-setup@v3 - with: - version: 8 - - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version: '1.22.2' - - name: Build - run: | - pnpm install - go install github.com/a-h/templ/cmd/templ@latest - make build-vercel - - name: Deploy - uses: BetaHuhn/deploy-to-vercel-action@v1 - with: - GITHUB_TOKEN: ${{ SECRETS.GITHUB_TOKEN }} - VERCEL_TOKEN: ${{ SECRETS.VERCEL_TOKEN }} - VERCEL_ORG_ID: ${{ SECRETS.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - PRODUCTION: false diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml deleted file mode 100644 index 02d7204..0000000 --- a/.github/workflows/deploy-preview.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Deploy preview to Vercel - -on: - push: - branches: - - dev - -jobs: - deploy: - name: Deploy - if: ${{ github.repository == 'dot013/.www' }} - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - deployments: write - strategy: - matrix: - node-version: [20] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup pnpm - uses: pnpm/action-setup@v3 - with: - version: 8 - - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - name: Setup go - uses: actions/setup-go@v5 - with: - go-version: '1.22.2' - - name: Build - run: | - pnpm install - go install github.com/a-h/templ/cmd/templ@latest - make build-vercel - - name: Deploy - uses: BetaHuhn/deploy-to-vercel-action@v1 - with: - GITHUB_TOKEN: ${{ SECRETS.GITHUB_TOKEN }} - VERCEL_TOKEN: ${{ SECRETS.VERCEL_TOKEN }} - VERCEL_ORG_ID: ${{ SECRETS.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - PRODUCTION: false diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 21cc5ec..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Deploy to Vercel - -on: - push: - branches: - - main - -jobs: - deploy: - name: Deploy - if: ${{ github.repository == 'dot013/.www' }} - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - deployments: write - strategy: - matrix: - node-version: [20] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup pnpm - uses: pnpm/action-setup@v3 - with: - version: 8 - - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - name: Setup go - uses: actions/setup-go@v5 - with: - go-version: '1.22.2' - - name: Build - run: | - pnpm install - go install github.com/a-h/templ/cmd/templ@latest - make build-vercel - - name: Deploy - uses: BetaHuhn/deploy-to-vercel-action@v1 - with: - GITHUB_TOKEN: ${{ SECRETS.GITHUB_TOKEN }} - VERCEL_TOKEN: ${{ SECRETS.VERCEL_TOKEN }} - VERCEL_ORG_ID: ${{ SECRETS.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - PRODUCTION: true diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..cab2bce --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "smalltrip"] + path = smalltrip + url = https://code.capytal.cc/loreddev/smalltrip +[submodule "x"] + path = x + url = https://code.capytal.cc/loreddev/x diff --git a/smalltrip b/smalltrip new file mode 160000 index 0000000..bb634f5 --- /dev/null +++ b/smalltrip @@ -0,0 +1 @@ +Subproject commit bb634f58cbb1f7d644551df5766e6413685c205f diff --git a/x b/x new file mode 160000 index 0000000..6ea200a --- /dev/null +++ b/x @@ -0,0 +1 @@ +Subproject commit 6ea200aa6442f3a4e086a023aafdd2b1810c429b