Skip to content

Commit

Permalink
ci(github/workflows/deploy): add initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO committed Nov 1, 2023
1 parent efb3f21 commit 10df8f9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy

on:
push:
tags:
- 'v*.*.*'

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build
run: nix build
- name: Release
uses: softprops/action-gh-release@v1
with:
files: result/*
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}

0 comments on commit 10df8f9

Please sign in to comment.