feat: migrate from GitLab CI to Gitea Actions #48

Merged
argoyle merged 1 commits from feat/gitea-migration into master 2026-01-08 12:33:08 +00:00
2 changed files with 34 additions and 1 deletions
Showing only changes of commit a6ae2fd2b1 - Show all commits
+33
View File
@@ -0,0 +1,33 @@
name: lingonpaj-site
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
steps:
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Build and push
run: unset GITEA_TOKEN && build && push
deploy-prod:
needs: build
if: gitea.ref == 'refs/heads/main'
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
environment: prod
steps:
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Deploy to production
run: deploy prod
+1 -1
View File
@@ -44,7 +44,7 @@ spec:
periodSeconds: 5
timeoutSeconds: 5
imagePullPolicy: Always
image: registry.gitlab.com/unboundsoftware/lingonpaj-site:${COMMIT}
image: oci.unbound.se/unboundsoftware/lingonpaj-site:${COMMIT}
ports:
- containerPort: 80
resources: