Skip to content

Commit

Permalink
chore(ci): setup action
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev authored Oct 17, 2022
1 parent d3c3b89 commit dfcb352
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
workflow_dispatch:
push: {branches: ["master", "main"]}

jobs:
status:
runs-on: ubuntu-latest
name: Build Rojo Project
steps:
- name: Checkout files
uses: actions/checkout@v3
- name: Build
uses: CompeyDev/rojo-build-action@0.1.0
with:
output: model
id: rbxm
- name: Commit and push if there are changes
run: |-
git diff
git config --global user.email "hi@devcomp.xyz"
git config --global user.name "BuildBot"
git diff --quiet || (git add -u && git commit -m "chore(deploy): build rojo project")
git push

0 comments on commit dfcb352

Please sign in to comment.