fix ci #200
2 changed files with 8 additions and 4 deletions
|
@ -11,15 +11,17 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
update:
|
update:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: https://github.com/innovationnorway/setup-vault@v1
|
- uses: https://github.com/cachix/install-nix-action@v20
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstabl
|
||||||
- env:
|
- env:
|
||||||
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
|
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
|
||||||
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
|
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install jq
|
|
||||||
git config user.name "Forgejo Actions Bot"
|
git config user.name "Forgejo Actions Bot"
|
||||||
git config user.email "<>"
|
git config user.email "<>"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#! /usr/bin/env bash
|
#! /usr/bin/env nix-shell
|
||||||
|
#! nix-shell -i bash -p vault curl jq
|
||||||
|
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue