-
Notifications
You must be signed in to change notification settings - Fork 99
35 lines (32 loc) · 891 Bytes
/
nightly.yml
File metadata and controls
35 lines (32 loc) · 891 Bytes
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
name: deploy development
on:
push:
branches:
- main
jobs:
goreleaser:
uses: charmbracelet/meta/.github/workflows/nightly.yml@main
with:
go_version: stable
upload_artifacts: false
secrets:
docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
docker_token: ${{ secrets.DOCKERHUB_TOKEN }}
goreleaser_key: ${{ secrets.GORELEASER_KEY }}
gh_pat: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
deploy:
name: Run deploy workflow
runs-on: ubuntu-latest
needs: [goreleaser]
steps:
- uses: benc-uk/workflow-dispatch@v1
with:
workflow: Update
repo: charmbracelet/infra-dev
ref: main
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
inputs: |
{
"app": "fur",
"image": "ghcr.io/charmbracelet/fur:${{ github.sha }}-devel"
}