From 3232ce1bad532c517b8cfc4d6b7c704678774bf2 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 42b6513c0..76ab85db0 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