Skip to content

chore: adjust commit file #204

chore: adjust commit file

chore: adjust commit file #204

Workflow file for this run

on:
workflow_dispatch:
push:
branches: ["main"]
jobs:
status:
runs-on: ubuntu-latest
name: Build Rojo Project
steps:
- name: Checkout files
uses: actions/checkout@v3
with:
token: ${{ secrets.BUILD_TOKEN }}
- name: Make
run: |
make build
- name: Build
uses: CompeyDev/rojo-build-action@0.1.5
with:
output: build/latest
type: rbxl
- name: Commit and Push
run: |
git config --global user.email "bot@gtihub"
git config --global user.name "Bot"
git diff --quiet build/latest.rbxl || (git add build/latest.rbxl && git commit -m "chore(deploy): build rojo project" && git push)
docs:
runs-on: ubuntu-latest
name: Publish Docs
steps:
- name: Checkout files
uses: actions/checkout@v3
with:
token: ${{ secrets.BUILD_TOKEN }}
- name: Make
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git config --global user.email "matyasjay@gmail.com"
git config --global user.name "Matyas Angyal"
make docs-publish
env:
GITHUB_TOKEN: ${{ secrets.BUILD_TOKEN }}