Skip to content

Commit

Permalink
make github action for fabricating XeDN generations
Browse files Browse the repository at this point in the history
  • Loading branch information
Xe authored Oct 28, 2023
1 parent 334992d commit b3b3368
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit b3b3368

Please sign in to comment.