Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LapplandBro committed Sep 3, 2023
1 parent 9fb01f7 commit 0bdfe6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build and Deploy

on:
push:
branches: '**'
branches: [ "master-ru-translation" ]
pull_request:
branches: '**'
branches: [ "master-ru-translation" ]

jobs:
build:
Expand Down Expand Up @@ -77,13 +77,13 @@ jobs:
path: plugins/

- name: Prepare release bundles
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master-ru-translation'
run: |
zip -r jse-bundle.zip LICENSE gamedata plugins scripting translations
tar -czf jse-bundle.tar.gz LICENSE gamedata plugins scripting translations
- name: "Release development build"
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master-ru-translation'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit 0bdfe6b

Please sign in to comment.