You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/formal-spec-listener.yaml
+14-22Lines changed: 14 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -78,12 +78,6 @@ jobs:
78
78
echo "<html><body><h1>Formal Specification</h1><p>Formal specification documentation is being updated. Please check back later.</p></body></html>" > formal-spec-html/index.html
79
79
fi
80
80
81
-
# Prepare Docusaurus site with formal spec
82
-
- name: 📥 Checkout repository (again for site)
83
-
uses: actions/checkout@v4
84
-
with:
85
-
fetch-depth: 2
86
-
87
81
- name: 🛠️ Setup Node.js
88
82
uses: actions/setup-node@v4
89
83
with:
@@ -95,9 +89,12 @@ jobs:
95
89
working-directory: site
96
90
run: yarn install
97
91
98
-
- name: 📝 Update formal spec
92
+
- name: 📝 Prepare formal spec directory
99
93
run: |
100
94
mkdir -p site/static/formal-spec
95
+
# Clear existing formal spec files
96
+
rm -rf site/static/formal-spec/*
97
+
101
98
if [ -d "formal-spec-html" ] && [ -n "$(ls -A formal-spec-html/ 2>/dev/null)" ]; then
0 commit comments