remove workflows
This commit is contained in:
parent
1b698c6911
commit
34ef9e32c9
3 changed files with 0 additions and 81 deletions
|
@ -1,22 +0,0 @@
|
||||||
name: Lint
|
|
||||||
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
runs-on: docker
|
|
||||||
env:
|
|
||||||
container:
|
|
||||||
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: https://github.com/cachix/install-nix-action@v22
|
|
||||||
env:
|
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
- run: |
|
|
||||||
sed -i '/^access-tokens/ d' /etc/nix/nix.conf
|
|
||||||
nix profile install 'nixpkgs#deadnix' 'nixpkgs#statix' 'nixpkgs#yamllint'
|
|
||||||
statix check .
|
|
||||||
deadnix -f
|
|
||||||
yamllint .
|
|
|
@ -1,22 +0,0 @@
|
||||||
name: Nix
|
|
||||||
|
|
||||||
# on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
runs-on: docker
|
|
||||||
env:
|
|
||||||
container:
|
|
||||||
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Check Nix flake inputs
|
|
||||||
uses: https://github.com/DeterminateSystems/flake-checker-action@v5
|
|
||||||
- uses: https://github.com/cachix/install-nix-action@v22
|
|
||||||
env:
|
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
- name: Run `nix flake check`
|
|
||||||
run: |
|
|
||||||
sed -i '/^access-tokens/ d' /etc/nix/nix.conf
|
|
||||||
nix run '.#' -- -V
|
|
|
@ -1,37 +0,0 @@
|
||||||
name: Plex Update
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- ci
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
update:
|
|
||||||
runs-on: docker
|
|
||||||
container:
|
|
||||||
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: https://github.com/cachix/install-nix-action@v22
|
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
- env:
|
|
||||||
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
|
|
||||||
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
|
|
||||||
run: |
|
|
||||||
git config user.name "Forgejo Actions Bot"
|
|
||||||
git config user.email "<>"
|
|
||||||
|
|
||||||
# Run Update script
|
|
||||||
./pkgs/plex-pass/update.sh
|
|
||||||
|
|
||||||
git add ./pkgs/plex-pass/
|
|
||||||
|
|
||||||
# Push if changed
|
|
||||||
if git status ./nixos/pkgs/plex-pass/ | grep -q "to be committed"; then
|
|
||||||
git commit -m "Update Plex"
|
|
||||||
git push origin main
|
|
||||||
fi
|
|
Loading…
Add table
Add a link
Reference in a new issue