Skip to content

Commit f686942

Browse files
committed
ci: clean up environment
1 parent 98e66c7 commit f686942

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
1-
# .github/workflows/deploy.yml
21
name: Deploy
32
on:
43
push:
54
branches:
65
- main
76
jobs:
8-
deploy:
7+
build-docs:
8+
uses: ./.github/workflows/build-docs.yml
9+
secrets:
10+
gh_token: ${{ github.token }}
11+
12+
deploy-internal:
913
runs-on: ubuntu-latest
1014
steps:
11-
- uses: actions/checkout@v4
12-
13-
- name: Setup PDM
14-
uses: pdm-project/setup-pdm@v4
15-
with:
16-
python-version: 3.12
17-
cache: true
18-
19-
- name: Install dependencies
20-
run: pdm install
21-
22-
- name: Build docs
23-
run: pdm docs
2415

2516
- uses: JamesIves/github-pages-deploy-action@v4
2617
with:

.github/workflows/main.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,7 @@ jobs:
7676
pdm run chipflow pin lock
7777
pdm run chipflow silicon submit --wait
7878
env:
79-
CHIPFLOW_API_ORIGIN: 'https://build-staging.chipflow.org'
80-
CHIPFLOW_API_KEY_ID: ${{ secrets.CHIPFLOW_API_KEY_ID }}
81-
CHIPFLOW_API_KEY_SECRET: ${{ secrets.CHIPFLOW_API_KEY_SECRET }}
82-
CHIPFLOW_BACKEND_VERSION: branch-main
79+
CHIPFLOW_API_KEY: ${{ secrets.CHIPFLOW_API_KEY}}
8380

8481
test-submit-dry:
8582
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)