-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.08 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on:
push:
branches:
- '*'
- '!release'
jobs:
ship_it:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: 🚀 Deploy 🚀
run: nix-shell --run "make deploy"
- name: ⏰ Bump version and push tag ⏰
uses: anothrNick/github-tag-action@master
id: tag-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_OWNER: tjmaynes
WITH_V: true
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: ${{ steps.tag-action.outputs.tag }}
prerelease: false
files: |
LICENSE
*.pdf
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: false
files: |
LICENSE
*.pdf