From 2c6c055c6f36d34fe2835723fa0d03dcb0396ec9 Mon Sep 17 00:00:00 2001 From: stackhpc-ci <22933334+stackhpc-ci@users.noreply.github.com> Date: Fri, 10 Jun 2022 19:06:53 +0000 Subject: [PATCH] feat: automatic update of workflows master --- .github/workflows/publish.yml | 22 ---------------------- .github/workflows/publish_collection.yml | 10 ++++++++++ 2 files changed, 10 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/publish.yml create mode 100644 .github/workflows/publish_collection.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 62d7e9f..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,22 +0,0 @@ - -name: Publish - -# Controls when the action will run. -on: - push: - tags: - - "v[0-9]+.[0-9]+.[0-9]+" - workflow_dispatch: - -jobs: - galaxy: - runs-on: ubuntu-latest - - steps: - # Checks-out the repository under $GITHUB_WORKSPACE, so it's accessible to the job - - uses: actions/checkout@v2 - - - name: Build and publish a collection - uses: artis3n/ansible_galaxy_collection@v2 - with: - api_key: '${{ secrets.GALAXY_API_KEY }}' diff --git a/.github/workflows/publish_collection.yml b/.github/workflows/publish_collection.yml new file mode 100644 index 0000000..5608549 --- /dev/null +++ b/.github/workflows/publish_collection.yml @@ -0,0 +1,10 @@ +--- +name: Publish Ansible Collection +'on': + push: + tags: + - "v[0-9]+.[0-9]+.[0-9]+" + workflow_dispatch: +jobs: + publish_collection: + uses: stackhpc/.github/.github/workflows/publish_collection.yml@main