Skip to content

Commit

Permalink
Only run sync on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusAhlfors committed Mar 17, 2024
1 parent b3a1351 commit 1c2f344
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/DiploiBuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ env:
INITIAL_PROJECT_IMAGE_NAME: ${{ github.repository }}-initial-project
DEMO_TARGET_REPOSITORY: 'https://x-access-token:${{ secrets.DEMO_REPOSITORY_PAT }}@github.com/${{ github.repository }}-demo.git'
DEMO_TAG_NAME: '${GITHUB_REF#refs/tags/}'

TAG_NAME: '${GITHUB_REF#refs/tags/}'

jobs:

DemoSync:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout source repository
uses: actions/checkout@v2
Expand Down

0 comments on commit 1c2f344

Please sign in to comment.