Skip to content

Commit

Permalink
update deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibz committed Apr 17, 2024
1 parent 603f9d4 commit ec843a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/generate-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ jobs:
- name: Generate Manifest
run: node create-readme-metadata.js

- name: Commit and Push
- name: Push changes
run: |
git checkout -b generated-branch-$(date +'%Y%m%d%H%M%S')
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Generated gallery.manifest file" || echo "No changes to commit"
git push origin HEAD
git push origin "${GITHUB_REF#refs/heads/}"
deploy:
needs: build
Expand Down

0 comments on commit ec843a2

Please sign in to comment.