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 597cb07 commit d0462d0Copy full SHA for d0462d0
.github/workflows/build_page.yml
@@ -34,12 +34,12 @@ jobs:
34
- name: Copy Files
35
run: |
36
if [ "${{ github.ref_name }}" = "main" ]; then
37
- cp -r `find * | grep -v gh-pages` *.md gh-pages/;
+ cp -r `find * | grep -v "^gh-pages\(/\|$\)"` gh-pages/;
38
else
39
if [ ! -d gh-pages/dev ]; then
40
mkdir gh-pages/dev;
41
fi
42
- cp -r `find * | grep -v "^gh-pages/"` *.md gh-pages/dev/;
+ cp -r `find * | grep -v "^gh-pages\(/\|$\)"` gh-pages/dev/;
43
44
- name: Commit files
45
working-directory: gh-pages
@@ -51,7 +51,6 @@ jobs:
51
52
git add dev/*;
53
54
- git status
55
git commit -m "[${{ github.ref_name }}] ${{ github.event.head_commit.message }}" -a
56
- name: Push changes
57
uses: ad-m/github-push-action@master
0 commit comments