-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GHA] Use
meta-repo-content
workflow.
- Loading branch information
Showing
1 changed file
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,6 @@ jobs: | |
DOCKERFILE: .github/docker/${{ matrix.os }}/${{ matrix.version }}/${{ matrix.platform.name }}/Dockerfile | ||
MAINTAINER: 'Andrey Volk <[email protected]>' | ||
META_FILE_PATH_PREFIX: /var/www/sofia/${{ github.ref_name }}/${{ matrix.os }}-${{ matrix.platform.name }}/${{ github.run_id }}-${{ github.run_number }} | ||
META_REPO: signalwire/bamboo_gha_trigger | ||
META_REPO_BRANCH: sofia/${{ 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 | ||
|
@@ -83,8 +81,6 @@ jobs: | |
DOCKERFILE: .github/docker/${{ matrix.os }}/${{ matrix.version }}/${{ matrix.platform.name }}/Dockerfile | ||
MAINTAINER: 'Andrey Volk <[email protected]>' | ||
META_FILE_PATH_PREFIX: /var/www/sofia/${{ github.ref_name }}/${{ matrix.os }}-${{ matrix.platform.name }}/${{ github.run_id }}-${{ github.run_number }} | ||
META_REPO: signalwire/bamboo_gha_trigger | ||
META_REPO_BRANCH: sofia/${{ 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 | ||
|
@@ -97,3 +93,20 @@ jobs: | |
TELEPORT_TOKEN: ${{ secrets.TELEPORT_TOKEN }} | ||
# REPO_USERNAME: ${{ secrets.FSAUSER }} | ||
# REPO_PASSWORD: ${{ secrets.FSAPASS }} | ||
|
||
meta: | ||
name: 'Publish build data to meta-repo' | ||
if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.title, ':upload-artifacts') }} | ||
needs: | ||
- deb | ||
- rpm | ||
permissions: | ||
id-token: write | ||
contents: read | ||
uses: signalwire/actions-template/.github/workflows/meta-repo-content.yml@main | ||
with: | ||
META_CONTENT: '/var/www/sofia/${{ github.ref_name }}/*/${{ github.run_id }}-${{ github.run_number }}' | ||
META_REPO: signalwire/bamboo_gha_trigger | ||
META_REPO_BRANCH: trigger/sofia/${{ github.ref_name }} | ||
secrets: | ||
GH_BOT_DEPLOY_TOKEN: ${{ secrets.PAT }} |