File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 6565 echo "No scripts found."
6666 GREP_RESULT=1
6767 else
68- echo "$NPM_SCRIPTS"
69-
7068 # Check for package-defined build.
7169 echo "$NPM_SCRIPTS" | grep -q "^ pandoc-spec-action$"
7270 GREP_RESULT=$?
@@ -116,10 +114,6 @@ runs:
116114 pages_url="https://$host_name/$repository_name"
117115 fi
118116
119- echo "Pages URL: $pages_url"
120-
121- ls -l
122-
123117 # Get and unzip GitHub Pages archive.
124118 curl -s $pages_url/_pages.zip -o _pages.zip
125119 if [[ $? -eq 0 ]]
@@ -131,20 +125,14 @@ runs:
131125 cp -r "${{ inputs.pages-path }}" _pages/
132126 fi
133127
134- ls -l
135-
136128 cd _pages
137129
138- ls -l
139-
140130 if [[ -d _branch ]]
141131 then
142132 cd _branch
143133
144134 BRANCHES=$(git branch --remotes --format=%\(refname:lstrip=-1\))
145135
146- echo $BRANCHES
147-
148136 ls | while read -r branch
149137 do
150138 # Check than branch still exists.
@@ -162,13 +150,8 @@ runs:
162150 mkdir _branch
163151 fi
164152
165- ls -l
166-
167153 branch=${{ github.ref_name }}
168154
169- echo "Branch: $branch"
170- echo "Default: ${{ inputs.default-branch }}"
171-
172155 if [[ "$branch" == "${{ inputs.default-branch }}" ]]
173156 then
174157 # Move entire _branch directory.
You can’t perform that action at this time.
0 commit comments