diff --git a/.github/workflows/docker_github.yml b/.github/workflows/docker_github.yml index e07fd23..915c4d7 100644 --- a/.github/workflows/docker_github.yml +++ b/.github/workflows/docker_github.yml @@ -1,8 +1,8 @@ name: Docker Github on: - push: - branches: - - main + create: + tags: + - 'v*' jobs: build: name: Build image diff --git a/.github/workflows/git.yml b/.github/workflows/git.yml index ffaa5d4..6bce09c 100644 --- a/.github/workflows/git.yml +++ b/.github/workflows/git.yml @@ -6,12 +6,13 @@ on: jobs: build: name: Git Collect + environment: dev runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 with: - repository: work-design/engine + repository: ${{ github.repository_owner }}/engine ref: main submodules: true token: ${{ secrets.AK }} @@ -23,5 +24,5 @@ jobs: git status git remote -v git add . -v - git commit -m ${{ github.event.repository.updated_at }} + git commit -m "${{ github.event.head_commit.timestamp }} - ${{ github.event.repository.name }}" git push diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 891a84b..92056f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,8 @@ name: Test -on: [push] +on: + push: + branches: + - test jobs: test: runs-on: ubuntu-latest