Skip to content

Commit 3af74af

Browse files
committed
tmp change - try yarn upgrade
1 parent abb2247 commit 3af74af

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

.github/workflows/_release_docs.yaml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
# Runs when manually triggered from the GitHub UI.
55
workflow_dispatch:
66

7+
# Dry-run trigger for docs migration branch.
8+
push:
9+
branches:
10+
- migrate-docs-to-yarn
11+
712
# Runs when invoked by another workflow.
813
workflow_call:
914
inputs:
@@ -41,10 +46,13 @@ jobs:
4146
cache: yarn
4247
cache-dependency-path: website/yarn.lock
4348

49+
- name: Enable Corepack
50+
run: corepack enable
51+
4452
- name: Install Node dependencies
4553
run: |
4654
yarn install
47-
yarn upgrade @apify/docs-theme
55+
yarn up @apify/docs-theme
4856
working-directory: ./website
4957

5058
# We do this as early as possible to prevent conflicts if someone else would push something in the meantime
@@ -74,23 +82,3 @@ jobs:
7482
run: uv run poe build-docs
7583
env:
7684
APIFY_SIGNING_TOKEN: ${{ secrets.APIFY_SIGNING_TOKEN }}
77-
78-
- name: Set up GitHub Pages
79-
uses: actions/configure-pages@v5
80-
81-
- name: Upload GitHub Pages artifact
82-
uses: actions/upload-pages-artifact@v4
83-
with:
84-
path: ./website/build
85-
86-
- name: Deploy artifact to GitHub Pages
87-
uses: actions/deploy-pages@v4
88-
89-
- name: Invalidate CloudFront cache
90-
run: |
91-
gh workflow run invalidate-cloudfront.yml \
92-
--repo apify/apify-docs-private \
93-
--field deployment=apify-docs
94-
echo "✅ CloudFront cache invalidation workflow triggered successfully"
95-
env:
96-
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)