chore: cleanup
Some checks failed
deploy / deploy (push) Failing after 42s

This commit is contained in:
ndsboy 2025-02-23 01:12:10 +00:00
parent 34c7cb683a
commit b3568b7da4
2 changed files with 25 additions and 18 deletions

View file

@ -0,0 +1,25 @@
name: deploy
on: [push, workflow_dispatch]
env:
ASTRO_TELEMETRY_DISABLED: true
jobs:
deploy:
name: deploy
runs-on: docker
container:
image: quay.io/buildah/stable:latest
if: github.ref == 'refs/heads/main'
steps:
- name: download
run: curl ${{ github.server_url }}/${{ github.repository }}/archive/main.tar.gz | tar -xz
- name: login
run: buildah login -u token -p ${{ secrets.GITHUB_TOKEN }} git.swablab.de
- name: build
run: buildah build -f website/Containerfile -t git.swablab.de/${{ github.repository }}:latest website
- name: push
run: buildah push git.swablab.de/${{ github.repository }}:latest

View file

@ -1,18 +0,0 @@
name: Build Astro
on: [push, workflow_dispatch]
env:
ASTRO_TELEMETRY_DISABLED: true
jobs:
deploy:
name: Deploy
runs-on: docker
container:
image: quay.io/buildah/stable:latest
if: github.ref == 'refs/heads/main'
steps:
- run: curl ${{ github.server_url }}/${{ github.repository }}/archive/main.tar.gz | tar -xz
- run: buildah build -f website/Containerfile -t git.swablab.de/${{ github.repository }}:latest website
- run: buildah login -u token -p ${{ secrets.GITHUB_TOKEN }} git.swablab.de
- run: buildah push git.swablab.de/${{ github.repository }}:latest