Skip to content

Commit

Permalink
ansible versions were fixed
Browse files Browse the repository at this point in the history
Signed-off-by: kogeler <[email protected]>
  • Loading branch information
kogeler committed Nov 21, 2023
1 parent 29f978c commit c3e3119
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/branch-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: main branch
on:
push:
branches:
- fix-ansible-version
- main

jobs:
run-molecule-tests:
Expand All @@ -23,28 +23,28 @@ jobs:
uses: ./.github/workflows/reusable-check-version.yml
with:
compare-versions: false
# deploy-galaxy:
# needs: [run-molecule-tests, check-version]
# uses: ./.github/workflows/reusable-galaxy-deploy.yml
# secrets:
# api-token: ${{ secrets.GALAXY_API_KEY }}
# create-git-tag:
# runs-on: ubuntu-22.04
# needs: [deploy-galaxy, check-version]
# env:
# CURRENT_GALAXY_VERSION: ${{ needs.check-version.outputs.current-galaxy-version }}
# steps:
# - name: Print tag version
# run: |
# echo "Tag version: ${CURRENT_GALAXY_VERSION}"
# - name: Create Tag
# uses: actions/github-script@v6
# with:
# script: |
# const {CURRENT_GALAXY_VERSION} = process.env
# github.rest.git.createRef({
# owner: context.repo.owner,
# repo: context.repo.repo,
# ref: `refs/tags/${CURRENT_GALAXY_VERSION}`,
# sha: context.sha
# })
deploy-galaxy:
needs: [run-molecule-tests, check-version]
uses: ./.github/workflows/reusable-galaxy-deploy.yml
secrets:
api-token: ${{ secrets.GALAXY_API_KEY }}
create-git-tag:
runs-on: ubuntu-22.04
needs: [deploy-galaxy, check-version]
env:
CURRENT_GALAXY_VERSION: ${{ needs.check-version.outputs.current-galaxy-version }}
steps:
- name: Print tag version
run: |
echo "Tag version: ${CURRENT_GALAXY_VERSION}"
- name: Create Tag
uses: actions/github-script@v6
with:
script: |
const {CURRENT_GALAXY_VERSION} = process.env
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/${CURRENT_GALAXY_VERSION}`,
sha: context.sha
})

0 comments on commit c3e3119

Please sign in to comment.