Skip to content

Commit

Permalink
fix(CI): ensure files are tracked before committing
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincharity committed Apr 14, 2020
1 parent 0bd741e commit f85680d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,6 @@ jobs:
with:
node-version: 12.x
if: env.SHOULD_RUN == 'true'

- name: Debug Action
uses: hmarr/debug-action@v1.0.0

- name: Download built demos
uses: actions/download-artifact@v1
with:
Expand All @@ -331,18 +327,14 @@ jobs:
echo "LIST up one:"
ls -a ../
if: env.SHOULD_RUN == 'true'

- name: Debug Action
uses: hmarr/debug-action@v1.0.0

- name: Prepare Demos for Deploy
run: tooling/ci/demos-predeploy.sh
if: env.SHOULD_RUN == 'true'
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "Update via release" -a
git commit -am "Update via release"
if: env.SHOULD_RUN == 'true'
- name: Push changes
uses: ad-m/github-push-action@master
Expand Down

0 comments on commit f85680d

Please sign in to comment.