Skip to content

Commit

Permalink
feat: add actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman committed Sep 9, 2024
1 parent a8301f4 commit 803d72e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Build and deploy"

on:
push:
branches: [main]

jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: "emortalmc/actions/java/build@main"
with:
token: "${{ secrets.GITHUB_TOKEN }}"
java-version: "21"
java-distribution: "zulu"

deploy:
needs: "build"
runs-on: "ubuntu-latest"
steps:
- uses: "emortalmc/actions/argo-sync@main"
with:
deployment-name: "minestom-edge"
values-path: "edge/values.yaml"
deployments-repo-token: "${{ secrets.DEPLOYMENTS_REPO_TOKEN }}"

0 comments on commit 803d72e

Please sign in to comment.