Skip to content

Commit

Permalink
Merge pull request #6 from freeswitch/gha
Browse files Browse the repository at this point in the history
[GHA] Use meta-repo-content workflow.
  • Loading branch information
s3rj1k committed Apr 11, 2024
2 parents 8bd6d67 + ee8f941 commit 04e0f7a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ jobs:
DOCKERFILE: .github/docker/${{ matrix.os }}/${{ matrix.version }}/${{ matrix.platform.name }}/Dockerfile
MAINTAINER: 'Andrey Volk <andrey@signalwire.com>'
META_FILE_PATH_PREFIX: /var/www/libsilk/${{ github.ref_name }}/${{ matrix.os }}-${{ matrix.platform.name }}/${{ github.run_id }}-${{ github.run_number }}
META_REPO: signalwire/bamboo_gha_trigger
META_REPO_BRANCH: libsilk/${{ github.ref_name }}/${{ matrix.os }}/${{ matrix.version }}/${{ matrix.platform.name }}
PLATFORM: ${{ matrix.platform.name }}
# REPO_DOMAIN: freeswitch.signalwire.com
TARGET_ARTIFACT_NAME: ${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform.name }}-artifact
Expand All @@ -59,3 +57,19 @@ jobs:
TELEPORT_TOKEN: ${{ secrets.TELEPORT_TOKEN }}
# REPO_USERNAME: 'signalwire'
# REPO_PASSWORD: ${{ secrets.REPOTOKEN }}

meta:
name: 'Publish build data to meta-repo'
if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.title, ':upload-artifacts') }}
needs:
- deb
permissions:
id-token: write
contents: read
uses: signalwire/actions-template/.github/workflows/meta-repo-content.yml@main
with:
META_CONTENT: '/var/www/libsilk/${{ github.ref_name }}/*/${{ github.run_id }}-${{ github.run_number }}'
META_REPO: signalwire/bamboo_gha_trigger
META_REPO_BRANCH: trigger/libsilk/${{ github.ref_name }}
secrets:
GH_BOT_DEPLOY_TOKEN: ${{ secrets.PAT }}

0 comments on commit 04e0f7a

Please sign in to comment.