chore(ci): remove github workflows

This commit is contained in:
Guz
2026-02-09 15:38:26 -03:00
parent 7d4fef801b
commit 91caf703dc
7 changed files with 8 additions and 183 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

6
.gitmodules vendored Normal file
View File

@@ -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

1
smalltrip Submodule

Submodule smalltrip added at bb634f58cb

1
x Submodule

Submodule x added at 6ea200aa64