diff options
| author | Xe Iaso <me@christine.website> | 2023-10-27 21:11:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-27 21:11:27 -0400 |
| commit | b3b3368bd6be7c7fe0f9bdc87bfcaecbf224819c (patch) | |
| tree | 6ab6558a99320e0387c87698fe2b94a36a3624e1 /.github/workflows | |
| parent | 334992d356f1f779043fcfe9e6d8257c4a3a9e63 (diff) | |
| download | xesite-b3b3368bd6be7c7fe0f9bdc87bfcaecbf224819c.tar.xz xesite-b3b3368bd6be7c7fe0f9bdc87bfcaecbf224819c.zip | |
make github action for fabricating XeDN generations
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/main.yml | 21 |
1 files changed, 21 insertions, 0 deletions
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 }} |
