Skip to content

Commit bf3e9b4

Browse files
authored
Update CI workflow
Updated checkout action version and removed deployment steps.
1 parent 6465e7f commit bf3e9b4

1 file changed

Lines changed: 1 addition & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: macos-latest
2323
timeout-minutes: 10
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v5
2626

2727
- name: Test configure script with environment variables
2828
env:
@@ -54,26 +54,3 @@ jobs:
5454
name: generated-project
5555
path: OUTPUT/TestModule/
5656
include-hidden-files: true
57-
deploy-generated-project:
58-
name: Deploy generated project to test branch
59-
needs: test-configure-script
60-
runs-on: ubuntu-latest
61-
timeout-minutes: 10
62-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
63-
steps:
64-
- name: Download generated project
65-
uses: actions/download-artifact@v4
66-
with:
67-
name: generated-project
68-
path: generated/
69-
70-
- name: Push to production branch
71-
run: |
72-
cd generated
73-
git init
74-
git config user.name "GitHub Actions"
75-
git config user.email "actions@github.com"
76-
git add .
77-
git commit -m "Generated project from main commit ${{ github.sha }}"
78-
git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
79-
git push -f origin HEAD:production

0 commit comments

Comments
 (0)