We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7379e2b commit ce09b87Copy full SHA for ce09b87
.github/workflows/update-readme.yml
@@ -17,17 +17,19 @@ jobs:
17
uses: actions/checkout@v3
18
with:
19
fetch-depth: 0
20
+ ref: main # Checkout the main branch first
21
- - name: Switch to main branch
22
- run: |
23
- git checkout main
24
- echo "::notice::Checked out main branch."
25
-
26
- - name: Pull badges.json from gh-pages
+ - name: Fetch gh-pages branch
27
run: |
+ git fetch origin gh-pages:gh-pages
28
git checkout gh-pages -- badges.json
29
echo "::notice::Pulled badges.json from gh-pages branch."
30
+ - name: Switch back to main branch
+ run: |
+ git checkout main
31
+ echo "::notice::Switched back to main branch."
32
+
33
- name: Set up Node.js
34
uses: actions/setup-node@v3
35
0 commit comments