Remove gitea actions
ci/woodpecker/push/deploy Pipeline failed Details
ci/woodpecker/manual/deploy Pipeline failed Details

This commit is contained in:
Ciapa 2024-04-12 16:33:32 +02:00
parent f941d15909
commit 1acf5e2d70
2 changed files with 0 additions and 102 deletions

View File

@ -1,65 +0,0 @@
name: ci
on:
push:
branches:
- master
jobs:
test:
runs-on:
- ubuntu-latest
- nixos
- x86_64
container:
volumes:
- /mnt/cache/nix_store:/nix
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install sudo
run: apt update && apt install -y sudo
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Flake check
run: nix flake check
deploy:
runs-on:
- ubuntu-latest
- nixos
- x86_64
container:
volumes:
- /mnt/cache/nix_store:/nix
needs: test
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install sudo
run: apt update && apt install -y sudo
- name: Install Nix
uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Load ssh key
uses: webfactory/ssh-agent@v0.8.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Deploy
run: nix develop --command deploy --rollback-succeeded false
env:
ACTION_RUNTIME_TOKEN: ''
GITHUB_TOKEN: ''

View File

@ -1,37 +0,0 @@
name: update-flake-inputs
on:
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
jobs:
update-lockfile:
runs-on:
- ubuntu-latest
- nixos
- x86_64
container:
volumes:
- /mnt/cache/nix_store:/nix
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install sudo
run: apt update && apt install -y sudo
- name: Install Nix
uses: cachix/install-nix-action@v23
with:
github_access_token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
extra_nix_config: |
access-tokens = gitnext.lewd.wtf=${{ secrets.AUTOUPDATE_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v20
env:
ACTION_RUNTIME_TOKEN: ''
GITHUB_TOKEN: ''
with:
pr-title: "update flake inputs"
pr-labels: |
update
automated