ci: deploy upstream on changes
Some checks are pending
Build / deploy (push) Blocked by required conditions
Some checks are pending
Build / deploy (push) Blocked by required conditions
This commit is contained in:
parent
806a4cfd21
commit
588613f223
1 changed files with 18 additions and 0 deletions
18
.forgejo/workflows/build.yaml
Normal file
18
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'master'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# deploy it upstream
|
||||||
|
deploy:
|
||||||
|
runs-on: docker
|
||||||
|
needs: [ build ]
|
||||||
|
steps:
|
||||||
|
- name: "Deploy to Skynet"
|
||||||
|
uses: https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet@v2
|
||||||
|
with:
|
||||||
|
input: 'simple-nixos-mailserver'
|
||||||
|
token: ${{ secrets.API_TOKEN_FORGEJO }}
|
Loading…
Reference in a new issue