We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42695d6 commit 5b322d1Copy full SHA for 5b322d1
.github/workflows/pages.yml
@@ -32,8 +32,16 @@ jobs:
32
33
- name: Download folder
34
# Use the secret from GitHub repository settings
35
- run: gdown --folder ${{ secrets.GDRIVE_FOLDER_ID }} -O src/routes/posts/mdarticles/[slug]/
36
-
+ run: |
+ mkdir -p tmp/
37
+ gdown --folder ${{ secrets.GDRIVE_FOLDER_ID }} -O tmp/
38
+
39
+ - name: Move articles to correct location
40
41
+ mkdir -p src/routes/posts/mdarticles/[slug]/
42
+ mv tmp/mdarticles/* src/routes/posts/mdarticles/[slug]/
43
+ rmdir tmp
44
45
- name: Setup Node.js
46
uses: actions/setup-node@v4
47
with:
src/routes/posts/mdarticles/[slug]/.empty
0 commit comments