Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mikiken committed Nov 10, 2023
1 parent 8725d1a commit dc72087
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,15 @@ jobs:
id: update
run: git submodule update --remote --recursive

- name: Run git status
id: status
run: echo "::set-output name=status::$(git status -s)"

- name: Add and commit files
run: |
git add .
git config --local user.name mikiken
git config --local user.email [email protected]
git commit -m "Update submodule via github-actions"
if: ${{ steps.status.outputs.status }}
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
branch: main
if: ${{ steps.status.outputs.status && github.event_name == 'push' }}
branch: main

0 comments on commit dc72087

Please sign in to comment.