From 5b0023c3df5b8b6927cd833f49832decdc44a6d8 Mon Sep 17 00:00:00 2001 From: Greg King Date: Fri, 17 Jun 2022 02:30:52 -0400 Subject: [PATCH] Fixed a shell syntax bug. Try again. --- .github/workflows/snapshot-on-push-master.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/snapshot-on-push-master.yml b/.github/workflows/snapshot-on-push-master.yml index b333152da..acd2e463a 100644 --- a/.github/workflows/snapshot-on-push-master.yml +++ b/.github/workflows/snapshot-on-push-master.yml @@ -96,12 +96,13 @@ jobs: name: cc65-snapshot-win64.zip path: cc65-snapshot-win64.zip - - name: Update the online documents. + - name: Get the online documents repo. uses: actions/checkout@v2 with: repository: cc65/doc path: doc.git - - run: | + - name: Update the online documents. + run: | cd doc.git rm *.* cp ../html/*.* . @@ -109,7 +110,7 @@ jobs: git config user.email "cc65.nomail@github.com" git config push.default simple git add -A - git commit -m "Updated from cc65 commit $(GITHUB_SHA)." && git push -q || true + git commit -m "Updated from cc65 commit ${GITHUB_SHA}." && git push # enter secrets under "repository secrets" - name: Upload snapshot to sourceforge