Skip to content

Commit

Permalink
GO-165 Add CDN repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lucirezac committed Mar 26, 2024
1 parent 6849f64 commit c51dfdf
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,41 @@ env:
GITHUB_TOKEN: ${{ secrets.SYSADMIN_GEOCODING_CONTROL_CREDENTIALS }}

jobs:
clone-cdn:
name: Git clone CDN repository
runs-on: [ self-hosted, fernando ]
defaults:
run:
working-directory: ${{ env.WORKDIR }}

steps:
- name: Checkout CDN repo
uses: actions/checkout@main
with:
path: ${{ env.WORKDIR }}/cdn.maptiler.com
repository: maptiler/cdn.maptiler.com
token: ${{ secrets.SYSADMIN_GEOCODING_CONTROL_CREDENTIALS }}

release:
name: Build and release CDN
runs-on: [ self-hosted, fernando ]
needs: clone-cdn
defaults:
run:
working-directory: ${{ env.WORKDIR }}
working-directory: ${{ env.WORKDIR }}/maptiler-geocoding-control

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: ${{ env.WORKDIR }}
path: ${{ env.WORKDIR }}/maptiler-geocoding-control

- name: Check out my other private repo
uses: actions/checkout@main
with:
path: ${{ env.WORKDIR }}/cdn.maptiler.com
repository: maptiler/cdn.maptiler.com
token: ${{ secrets.SYSADMIN_GEOCODING_CONTROL_CREDENTIALS }}

- name: Install npm
run: npm i
Expand Down

0 comments on commit c51dfdf

Please sign in to comment.