Add .gitea/workflows/release-nighty.yaml
All checks were successful
Build and Publish / Build and Publish Discord Bot (push) Successful in 26s
All checks were successful
Build and Publish / Build and Publish Discord Bot (push) Successful in 26s
This commit is contained in:
parent
3459e1f733
commit
4c1e01b3c4
46
.gitea/workflows/release-nighty.yaml
Normal file
46
.gitea/workflows/release-nighty.yaml
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
name: Build and Publish
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'dev'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build and Publish Discord Bot:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 18
|
||||||
|
|
||||||
|
- run: npm install
|
||||||
|
working-directory: ./discordbot
|
||||||
|
|
||||||
|
- uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: gitea.xeovalyte.dev
|
||||||
|
username: ${{ gitea.actor }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
|
- uses: docker/build-push-action@master
|
||||||
|
with:
|
||||||
|
context: ./discordbot
|
||||||
|
push: true
|
||||||
|
tags: gitea.xeovalyte.dev/xeovalyte/polarcraft:nightly
|
||||||
|
|
||||||
|
|
||||||
|
Build and Publish Minecraft Mod:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: Kir-Antipov/mc-publish@v3.3
|
||||||
|
working-directory: ./mod
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user