Skip to content

Commit

Permalink
Improving deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
QueenOfSquiggles committed Apr 7, 2024
1 parent 32e620c commit b0c6d05
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
name: Deploy
name: CD

on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch:
workflow_run: # when CI passes (check && test && clippy), deploy
workflows: ["CI"]
types:
- completed

permissions:
contents: write

jobs:
check_tags:
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: reecetech/[email protected]
id: version
with:
scheme: semver
increment: patch
build:
name: Build platform libs
runs-on: ubuntu-latest
Expand Down Expand Up @@ -144,7 +155,7 @@ jobs:
cp sqore.gdextension addons/sqore/sqore.gdextension
cp -r scenes addons/sqore/scenes/
cp -r assets addons/sqore/assets/
cp -r docs addons/sqore/docs/
cp -r doc addons/sqore/doc/
zip -r -q sqore_release addons
ls -1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: CI

on:
pull_request:
branches:
Expand All @@ -9,7 +11,6 @@ on:
- main
- reach

name: Continuous integration

jobs:
check:
Expand Down

0 comments on commit b0c6d05

Please sign in to comment.