diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 53bfb57..41491e9 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -45,10 +45,18 @@ jobs: npm install @angular/cli npm run lint echo "getting the username" - # user_name=$(git config user.name) - # echo "Git User Name: $user_name" - # user_email=$(git config user.email) - # echo "Git User Email: $user_email" + - name: Checkout code + uses: actions/checkout@v4 + + - name: Make changes + run: | + # Perform actions that modify files in the repository + echo "Updated content" > my_file.txt + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "GitHub Actions Bot" + git add . + git commit -m "Automated update by GitHub Actions" + git push origin HEAD:${{ github.ref_name }} - name: Update version run: | chmod +x update-version.sh