From b3b3368bd6be7c7fe0f9bdc87bfcaecbf224819c Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Fri, 27 Oct 2023 21:11:27 -0400 Subject: make github action for fabricating XeDN generations --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..d699248 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v4 + - name: Run the Magic Nix Cache + uses: DeterminateSystems/magic-nix-cache-action@v2 + - name: Make and deploy Xesite + run: | + nix develop -c "go run ./cmd/fabricate-generation" + env: + TAILSCALE_CLIENT_ID: ${{ secrets.TAILSCALE_CLIENT_ID }} + TAILSCALE_CLIENT_SECRET: ${{ secrets.TAILSCALE_CLIENT_SECRET }} -- cgit v1.2.3