Skip to content

Commit 818c1c7

Browse files
committed
ci: add pro repo clone creds to all github actions
1 parent a36d0ea commit 818c1c7

17 files changed

+74
-0
lines changed

.github/workflows/create-deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
run: |
1818
npm ci
1919
- name: Verifying release artifact build
20+
env:
21+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
22+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
2023
run: |
2124
npm run release:prod
2225
- name: Deploy Notification To authoring production repository create.phcode.dev

.github/workflows/desktop-linux-prod-test-pull.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
sudo apt-get install xvfb
3232
3333
- name: build phoenix dist-test
34+
env:
35+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
36+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
3437
run: |
3538
npm ci
3639
npm run build
@@ -39,6 +42,8 @@ jobs:
3942
- name: Download phoenix desktop and build test runner
4043
env:
4144
GH_TOKEN: ${{ github.token }}
45+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
46+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
4247
run: |
4348
cd ..
4449
git clone https://github.com/phcode-dev/phoenix-desktop.git

.github/workflows/desktop-linux-test-pull.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
sudo apt-get install xvfb
3131
3232
- name: build phoenix dist-test
33+
env:
34+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
35+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
3336
run: |
3437
npm ci
3538
npm run build
@@ -38,6 +41,8 @@ jobs:
3841
- name: Download phoenix desktop and build test runner
3942
env:
4043
GH_TOKEN: ${{ github.token }}
44+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
45+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
4146
run: |
4247
cd ..
4348
git clone https://github.com/phcode-dev/phoenix-desktop.git

.github/workflows/desktop-mac-test-pull.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
toolchain: 1.85.1
2424

2525
- name: build phoenix dist-test
26+
env:
27+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
28+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
2629
run: |
2730
npm ci
2831
npm run build
@@ -31,6 +34,8 @@ jobs:
3134
- name: Download phoenix desktop and build test runner
3235
env:
3336
GH_TOKEN: ${{ github.token }}
37+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
38+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
3439
run: |
3540
cd ..
3641
git clone https://github.com/phcode-dev/phoenix-desktop.git

.github/workflows/desktop-windows-test-pull.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
toolchain: 1.85.1
2424

2525
- name: build phoenix dist-test
26+
env:
27+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
28+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
2629
run: |
2730
npm ci
2831
npm run build
@@ -31,6 +34,8 @@ jobs:
3134
- name: Download phoenix desktop and build test runner
3235
env:
3336
GH_TOKEN: ${{ github.token }}
37+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
38+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
3439
run: |
3540
cd ..
3641
git clone https://github.com/phcode-dev/phoenix-desktop.git

.github/workflows/dev-deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
run: |
1414
npm ci
1515
- name: Verifying release artifact build
16+
env:
17+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
18+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
1619
run: |
1720
npm run release:dev
1821
- name: Deploy Notification To dev.phcode.dev repository

.github/workflows/playwright-chromium-linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- name: Install dependencies
2121
run: npm ci
2222
- name: Build phoenix
23+
env:
24+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
25+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
2326
run: npm run build
2427
- name: Install Playwright Browsers
2528
run: npx playwright install --with-deps

.github/workflows/playwright-chromium-macos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- name: Install dependencies
2121
run: npm ci
2222
- name: Build phoenix
23+
env:
24+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
25+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
2326
run: npm run build
2427
- name: Install Playwright Browsers
2528
run: npx playwright install --with-deps

.github/workflows/playwright-chromium-windows-prod.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
- name: Install dependencies
2222
run: npm ci
2323
- name: Build phoenix
24+
env:
25+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
26+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
2427
run: |
2528
npm run build
2629
npm run release:prod

.github/workflows/playwright-chromium-windows.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- name: Install dependencies
2121
run: npm ci
2222
- name: Build phoenix
23+
env:
24+
PRO_REPO_URL: ${{ secrets.PRO_REPO_URL }}
25+
PRO_REPO_ACCESS_TOKEN: ${{ secrets.PRO_REPO_ACCESS_TOKEN }}
2326
run: npm run build
2427
- name: Install Playwright Browsers
2528
run: npx playwright install --with-deps

0 commit comments

Comments
 (0)